Monday, 29 July 2019
Wednesday, 24 July 2019
Monday, 22 July 2019
Sunday, 21 July 2019
Friday, 19 July 2019
Thursday, 18 July 2019
Wednesday, 17 July 2019
Tuesday, 16 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.
:
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.
Monday, 15 July 2019
Friday, 12 July 2019
Thursday, 11 July 2019
Wednesday, 10 July 2019
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.
Ram is No Return type , Anonymous , No Modifiers
Lets write this code in Lambda
public class Add{
public int add(int a,int b){
return a+b;
}
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));
}
Add a=new Add();
System.out.println(a.add(4,5));
}
}
Tuesday, 9 July 2019
Monday, 8 July 2019
What topics a java developer must know
Here are important Core java topics a java developer must be expertise in
1. Multithreading
2. Design Pattern
3. Inner Classes
4. Lamda Expression
5. OOPS Concept
6. Concurrent Collection.
1. Multithreading
2. Design Pattern
3. Inner Classes
4. Lamda Expression
5. OOPS Concept
6. Concurrent Collection.
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.
Sunday, 7 July 2019
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
Vaskaran Sarkar
4 Servlet and Jsp
Search Hyderabad Java notes Kv sir natraj and Durga soft notes are best
Search Hyderabad Java notes Kv sir natraj and Durga soft notes are best
5 JavaFx
Javapoint blogs
Oracle javadocs
Javapoint blogs
Oracle javadocs
6 Spring and hibernate videos
By javabrain
7. Udemy and Orielly and plurasight
Saturday, 6 July 2019
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?
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?
What is the difference between poll and remove method in queue
They both remove object from queue but if you poll and it gets fails the null is returned and in case remove it throws an exception.
Friday, 5 July 2019
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 objectlist we get from our above 3rd point.
looping will be done by size method in similar fashion.
Use the same logic to get Int and Double.
5. erData.breakData()
we use breakData inorder to break data which is coming from external system into different objecs for reading or write over them
6. irData.createChildrenData("PM",true)
This method will be used for creating children data and set it as current.
7. irData.setCurrentData(xxx,XXX);
set set a value example
uid=irData.getCurrentDataAsString("USERID")
uid=uid+"Test"
irData.setCurrentData("USERID",uid)
8. irData.moveToFirstObjectStructure
9. irData.moveToNextObjectStructure
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 Scheduler100 best Java interview questions for 5 years experience developers
1. What is weak hash map how it works?
2. Why string is immutable?
3. Which design pattern use clone method
4, What is difference between character stream and byte stream?
5. When to use Character Stream and when to use byte stream?
6. What Chaining of Stream and Buffered reader?
2. Why string is immutable?
3. Which design pattern use clone method
4, What is difference between character stream and byte stream?
5. When to use Character Stream and when to use byte stream?
6. What Chaining of Stream and Buffered reader?
Thursday, 4 July 2019
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.
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.
Wednesday, 3 July 2019
JavaFX Import packages
Following packages are import packages of Javafx
javafx.css
javafx.event
javafx.css
javafx.scene
javafx.css
javafx.event
javafx.css
javafx.scene
Tuesday, 2 July 2019
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.
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.
Subscribe to:
Comments (Atom)