Showing posts with label ejb. Show all posts
Showing posts with label ejb. Show all posts

July 27, 2012

What does the 'load-on-startup' element mean in Deployment Descriptor (web.xml)?

The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an integer indicating the order in which the servlet should be loaded. If the value is a negative integer, or the element is not present, the container is free to load the servlet whenever it chooses. If the value is a positive...
Read more ...

June 29, 2012

Setting Up Eclipse with Java 1.6 on Windows

Step 1 - Download JavaStep 2 - Install JavaStep 3 - Set the PATHStep 4 - Set the CLASSPATHStep 5 - Test the Java installationStep 6 - Download and install EclipseStep 7 - Test the Eclipse installationStep 1     Download Java 1.6 package for Windows.  Click the Download button alongside the label  JDK 6 Update 2 (or similar). On that page, accept...
Read more ...

March 28, 2010

Brifly EJB FAQs

1). What are the Differences between EJB 3.0 and EJB 2.1? Differences are: 1) EJB 3.0 allows developers to program EJB components as ordinary Java objects with ordinary Java business interfaces rather than as heavy weight components like EJB 2 (home, remote). 2) In EJB 3.0 you can use annotation or deployment descriptors but in EJB 2 you have to use deployment descriptors. 3) EJB 3 introduced persistence API for database...
Read more ...

My Favorite Site's List

#update below script more than 500 posts