Java technology is an object-oriented, platform-independent, multithreaded programming environment. It is the foundation for Web and networked services, applications, platform-independent desktops, robotics, and other embedded devices.
Note: Content of this page is frequently updated by Kathiriya as an when get something new.
10 Most Useful Java Best Practice Quotes for Java Developers:
1) Avoid creating unnecessary objects and always prefer to do Lazy Initialization.
2) Never make an instance fields of class public.
3) Always try to minimize Mutability of a class.
4) Try to prefer Interfaces instead of Abstract classes.
5) Always try to limit the scope of Local variable.
6) Try to use standard library instead of writing your own from scratch.
7) Wherever possible try to use Primitive types instead of Wrapper classes.
8) Use Strings with utmost care.
9) Always return empty Collections and Arrays instead of null.
10) Defensive copies are savior.
Two bonus quotes:
11) Never let exception come out of finally block.
12) Never throw “Exception”.
Note: Content of this page is frequently updated by Kathiriya as an when get something new.
10 Most Useful Java Best Practice Quotes for Java Developers:
1) Avoid creating unnecessary objects and always prefer to do Lazy Initialization.
2) Never make an instance fields of class public.
3) Always try to minimize Mutability of a class.
4) Try to prefer Interfaces instead of Abstract classes.
5) Always try to limit the scope of Local variable.
6) Try to use standard library instead of writing your own from scratch.
7) Wherever possible try to use Primitive types instead of Wrapper classes.
8) Use Strings with utmost care.
9) Always return empty Collections and Arrays instead of null.
10) Defensive copies are savior.
Two bonus quotes:
11) Never let exception come out of finally block.
12) Never throw “Exception”.
Know more about Java...
Origin of Java Overview of Java New to Java Standard Edition (J2SE) Enterprise Edition (J2EE) Java EE6 Tutorials |
MVC architecture of the J2EE web application :
Controller : Handles the request coming from the browser/client and get the response from service objects.
Model : Service interface contains the business logic & database access.
View : User interface to display business content to end user.
Controller : Handles the request coming from the browser/client and get the response from service objects.
Model : Service interface contains the business logic & database access.
View : User interface to display business content to end user.
Struts-Spring-Hibernate integration architecture for J2EE web application :
Controller : Struts, ActionServlet, handles the request and response.
Model : Spring contains the business logic & data base access with help of Hibernate POJO's.
View : Struts, JSP files contains the presentation parts.
Controller : Struts, ActionServlet, handles the request and response.
Model : Spring contains the business logic & data base access with help of Hibernate POJO's.
View : Struts, JSP files contains the presentation parts.
Struts-Spring-Hibernate integration tutorial :
struts-spring-hibernate-example.zip | |
File Size: | 20 kb |
File Type: | zip |