Skip to main content

Posts

Showing posts from July, 2019

The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path

The superclass javax.servlet.http.HttpServlet was not found on the Java Build Path : This can be issue if you are creating a web project or maven project in your index.jsp file steps to resolve 1. Right Click on Project 2. Click on Properties 3. Select tartget runtime as Apache tomcat or Any server you are deploying.

Lambda expression in Java

Well Lambda expression is very easy concept in java. If you see languages like python, jython and Java script they have concise code example X=10 is valid in JavaScript  But in Java u need to define return type, modifiers datatype etc So to bring consice programming in Java lambda expression came. Another popular word for this is functional programming This concept came in 2013-14 in Java bcoz other languages have this concept where u have to write less code inorder. To compete Java requires this functional programming. Practise Programmes of Lambda Expression For understanding lambda expression remember one name RAM. R am is No Return type , A nonymous ,  No M odifiers  Lets write this code in Lambda public class Add{         public  int add(int a,int b){                 return a+b;             }      public static void main(String []args){                 Add a=new Add();                 System.out.println(a.add(4,5));      } }

Oracle Java certification path

Level 1 OCA : Oracle certified Associate is first level for oracle certication Level 2 OCJP : Oracle certified Java Programmer. Level 3 JAVA Application Developer Certificate Oracle certified Web developer : Here you need to study J2ee Level 4 Oracle Certified Architect.

Best Java books/materials to study

Here is the list of Javas best material to study or I should say must study books for a Java developer This book will help you in day to day programming as well as certification and interview s 1. Basic java/core Java Katty sarrah ocjp 7 available on Google. Durja ocjp complete videos 2. Java 8 feature Java 8 features by Kishore sharan 3. Design pattern Real world examples of design pattern Vaskaran Sarkar 4 Servlet and Jsp Search Hyderabad Java notes Kv sir natraj and Durga soft notes are best 5 JavaFx Javapoint blogs Oracle javadocs 6 Spring and hibernate videos  By javabrain 7. Udemy and Orielly and plurasight

Zensar Java interview questions

1. Difference between abstract and interface. 2. Difference between result in case of put a s post if everything is same. 3. Java 8 features ? 4. What's is need for default method in Java 8 in interface? 5. Jdbc template and callable statement use? 6. How u loop in stored procedure write a programme. 7. Comparator programme? 8. Why string is immutable? 9. What is difference between a+b and a+=b?

Maximo Integration Methods and classes we should know

Maximo Integration Methods and classes we should know 1. irData.getPrimaryObjectList() This is used to get primary object list suppose i have following in my object structure (MYOBJSTRUCT) Workorder Planned Matrial tasks Actuals Material Logs Now inorder to loop throw to the these records in case of publish  I have to first get the list of primary object so above method is used their. return type is list 2. object.size() List which we get from above we for looping we will size size to get count of records if we do it on MYOBJSTRUCT we will get 5 objects for looping on them we can use for loop or while loop  3. irData.setAsCurrent("xxx")  suppose if have to loop on planned material i will will set as current plan material irData.setAsCurrent("PLANMATERIAL") 4. irData.getCurrentDataAsString("XXX") suppose if i have to get Description from planned material list of 4th item for this i have to to use getDataAsString to get the data but first i have loop throgh

Getting Started with Maximo Scheduler

What is Maximo Scheduler:- Scheduler is a Maximo add-on which gives planners and scheduler’s ability to view Work orders, Activities, PM forecasts in Giant Chart. Maximo Scheduler provides a graphical view of Craft, Asset, Location, Materials, and Tools that Will allow the planner to schedule work with confidence that other critical considerations can be Met. Use ·          Using Scheduler task can be scheduled by dragging using CPM, or manually. ·          It provides ability to compare resource load. ·          Using scheduler, planner can scheduler view all work or forecast PM’s for specific location in case of shutdown. Tabs of Scheduler

Setting up JAVAFx for Eclipse

Steps 1. Download Eclipse j2ee. 2. Download Oracle Scene Builder for JAVAFx version  2. 3. Download Plugin  http://javafx.com/downloads/eclipse-plugin /  in eclipse and install it(It could take several attempts) 4. In preferences give path of Scenebuild.exe file which is generated after installing OracleScenebuilder JavaFx Version2. Create New Java Fx Project  Name:- Hellow From JavaFx.

Getting Start with JavaFX

Software required 1. Download Eclipse for j2ee. 2. Install E(FX)CLIPSE plugin in it. 3. Download Oracle java FX Scene builder, install it and apply .exe path in javafx preferences. JavaFX work on nodes where there is a tree graph having one root and nodes. Java FX also has leaf nodes with no children. Lets create a simple calculator Project.