JAVA Language INTERVIEW QUESTION & ANSWERS
9. |
What is J2EE? |
|
- J2EE stands for Java 2 Enterprise Edition. J2EE is an environment for developing and deploying enterprise applications.
- J2EE specification is defined by Sun Microsystems Inc.
- The J2EE platform is one of the best platform for the development and deployment of enterprise applications.
- The J2EE platform consists of a set of services, application programming interfaces (APIs) and protocols, which provides the functionality necessary for developing multi-tiered, web based applications.
|
10. |
What are the types of J2EE clients? |
|
J2EE clients are the software that access the services components installed on the J2EE container. Following are the J2EE clients:
- Applets
-
Java Web Start clients
-
Wireless clients, and
- Web applications.
|
11. |
What are cookies? |
|
- Cookies are piece of data which are stored at the client's browser to track information regarding the user usage and habits.
- Servlets sends cookies to the browser client using the HTTP response headers.
- When client gets the cookie information it's stored by the browser in the client's hard disk.
- Similarly client returns the cookie information using the HTTP request headers.
|
12. |
What is the difference between JavaBeans and taglib directives? |
|
JavaBeans and taglib fundamentals were introduced for reusability. But following are the major difference between them
Taglib are for generating presentation elements while JavaBeans are good for storing information and state. Use custom tags to implement actions and JavaBeans to present information.
|