Java J2ee Classes Kothrud Pune
We provide java j2ee classes and live project industrial training. Classes are taken by working professional
05/09/2018
28/08/2018
New JAVA/J2EE Batch Starting on # # # Monday, 10 September 2018 Evening 07:30 PM-Weekdays !
# Call Now to book your seat @ 9067176516 .
# Visit us @ www.javaj2eeclasses.com
# Java and J2EE:
# Core Java # Advance Java # Hibernate # Spring # REST # OCJP # OCWCD # Maven # Junit # Jquery # Ajax # XML # Log4j
Spring Boot + CI and many more ...
How to Effectively Handle NullPointerException in Java
NullPointerException is an unchecked exception and extends RuntimeException.It doesn’t force you to use catch block to handle it.NullPointerException is very much like a nightmare for most of java developer community.
Sections in this post:
# Why NullPointerException occur in your code
# Common places where NullPointerException usually occur
# Best ways to avoid NullPointerException
# Available NullPointerException safe operations
# Why NullPointerException occur in your code
NullPointerException is a situation in code where you try to access/ modify an object which has not been initialized yet.
It essentially means that object reference variable is not pointing anywhere and refers to nothing or ‘null’.
# Common places where NullPointerException usually occur
Well, NullPointerException can occur anywhere in your code for various reasons but i have prepared list of most frequent places based on my experience:
1) Invoking methods on an object which is not initialized
2) Parameters passed in a method are null
3) Calling toString() method on object which is null
4) Comparing object properties in if block without checking null equality
5) Incorrect configuration for frameworks like spring which works on dependency injection
6) Using synchronized on an object which is null
7) Chained statements i.e. multiple method calls in a single statement
This is not an exhaustive list. There are several other places and reasons also.
If you can recall any such other, please leave a comment. it will help others (beginners) also.
Best ways to avoid NullPointerException
1) Ternary Operator boolean expression ? value1 : value2;
2) Use apache commons StringUtils for String operations
3) Check Method Arguments for null very early
4) Consider Primitives Rather than Objects
5) Carefully Consider Chained Method Calls ref.method1().method2().method3().methods4();
6) Use String.valueOf() Rather than toString()
7) Avoid returning null from your methods
8) Discourage Passing of Null Parameters
9) Call String.equals(String) on ‘Safe’ Non-Null String
# Available NullPointerException safe operations
1) instanceof operator
2) Accessing static members of a class
12/08/2018
09/08/2018
9 Things Java Programmers Should Learn in 2018
Here is a range of topics you can tackle to make yourself a better Java dev from performance tuning to Spring Security 5.0.
1) Learn Java Performance Tuning
2) Everyday Coding for 2 hours
3) Profile Your Java application Once a Month
4) Participate in Coding Challenges
5) Learn Network Programming in Java
6) Java 9
7) Spring 5.0
8)Spring Security 5.0
9) Unit Testing
Summary:
That's my advice! If you are a Java programmer with a couple of years of experience, you can also take inspiration from this list to set your goal.
Some other things you can add to this list are learning Android, Docker, and Spark, as those are essential for any Java programmers.
I have purposefully kept this simple and achievable because I personally believe that small successes lead to big successes.
Setting small goals and achieving them is better than setting big, impractical goals and failing before kick-off.
So, what are you waiting for? Write down your resolutions and share them with us.
At the end of the year, you can come back here and tell us about how much you achieved.
New Angular Batch Start from (06 August)Today Evening @7:30 PM. You can Attend Demo Session.
06/08/2018
25/07/2018
Hi All,
HANDS-ON ANGULARJS 2/4/5 TRAINING FROM INDUSTRY EXPERT
We start's new Angular 2/4/5 Batch from 30 July 2018 Evening @7:30 PM.
Weekdays(Regular)
100% JOB Oriented Classes with Placement Support
Practical Knowledge Training with Industry Project
Learn Latest AngularJS 2,4 & 5.0 Course Content from a Highly Experienced Trainer
Well Equipped Class Rooms with LED TV Projector
Interview and Resume Preparation Support
Courses: JavaScript – HTML5 – Bootstrap – AngularJS 5 - NodeJS - CSS
"Real Time Angular and Node JS Training with 100+ Real time Scenarios from A Real Time Employee working in MNC Company."
Registration:
You can attend Demo session.
Venue:
Java J2ee classes ,office no-4,CTS-405,
Narang Corner,Near Kothrud Bus Stand,
Behind woodland Showroom,
Kothrud pune, Maharashtra, 411029.
M: 9067176516.
E: [email protected]
W: www.javaj2eeclasses.com.
22/07/2018
Hi Hibernate Professional,
Hibernate Training Institute In Pune|Hibernate Classes|Hibernate Coaching|Hibernate Certification
Hibernate is a high-performance Object/Relational persistence and query service.
We announce Hibernate free classroom training session on 28 & 29 July @8:30 Am to 11:30 AM.
Kindly join with your friens's and grow your carrier.
Training Features:
Intensive practical training.
Advance learning Material.
real time Hibernate project training.
Registration:
You can directy come and Join .No Registration.
Venue:
Java J2ee classes ,office no-4,CTS-405,
Narang Corner,Near Kothrud Bus Stand,
Behind woodland Showroom,
Kothrud pune, Maharashtra, 411029.
M: 9067176516.
E: [email protected]
W: www.javaj2eeclasses.com.
14/07/2018
Hi All,
We provided free demo class every day morning and Evening @ 7:30
Also every weekend @ 8:30 AM.
it's totally free . you can attend 3-4 days.
More details for Batch.
Visit Us: javaj2eeclasses.com
08/07/2018
Dear Professional,
We Java J2EE Classes , Pune are happy to announce that New Weekday Batch are Starting ,Pune.
New Java/J2ee Weekday Batch Starting on Monday
09 July 2018 Morning 07:30AM.
Visit us : www.javaj2eeclasses.com
We announced that this weeks 3-4 classes is free Demo .No Registration.
Grow your carrier and join Java community.
To Confirm send Massage WhatsApp: to +91- 9067176516 with your Name and either Java
OR
WALK-IN Directly for more details:
Java J2ee classes ,office no-4,CTS-405,
Narang Corner,Near Kothrud Bus Stand,
Behind woodland Showroom,
Kothrud pune, Maharashtra, 411029.
For More details call: - +91- 9067176516, 9067113853.
Email: - [email protected]
Visit us : www.javaj2eeclasses.com
Regards,
Java J2ee classes
to your Friends....Help them to move ahead in career.
06/07/2018
Hi All ,
We are JAVA J2EE CLASSES ,KOTHRUD,PUNE
Starting New JAVA/J2EE Morning batch from 9July 7:30 AM to 9:00 AM
Fees: 8000 only
You can Attend 3-4 Free demo .
Syllabus:
Core Java ,JDBC,Ad.Jva , Servlet,JSP, Spring(IOC,APO,MVC,TRASACTION,SECURITY),Hibernate,Web service,Spring Boot.
About Trainer:
9+Experience Currently Working.
Real time Senario only. Live project Training.
For More Details Visit:
http://www.javaj2eeclasses.com
call On: 9067176516.
Click here to claim your Sponsored Listing.
Contact the business
Telephone
Address
OFFICE NO-4 NARANG CORNER CTS 405 NEAR KOTHRUD BUS STAND
Pune
411029