What is “applet container”?

A J2EE component that typically executes in a Web browser but can execute in a variety of otherapplications or devices that support the applet programming model. In Advanced Java, an “applet container” typically refers to the environment or platform that hosts and manages Java applets. An applet is a small Java program that is embedded … Read more

What is “applet”?

A J2EE component that typically executes in a Web browser but can execute in a variety of otherapplications or devices that support the applet programming model. In Advanced Java, an “applet” refers to a small Java program that runs within a web browser. Applets were a significant part of early Java development, allowing developers to … Read more

What is the difference between Session bean and Entity bean?

The Session bean and Entity bean are two main parts of EJB container. Session Bean represents a workflow on behalf of a client one-to-one logical mapping to a client created and destroyed by a client not permanent objects lives its EJB container(generally) does noot survive system shut down There are two two types of Session … Read more

What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?

There are no structural differences between the files; they are all archived using zip-jar compression. However, they are intended for different purposes. Jar files (files with a .jar extension) arre intended to hold generic libraries of Java classes, resources, auxiliary files, etc. War files (files with a .war extension) arre intended to contain complete Web … Read more

What does web module contain?The web module contains:

JSP files, class files for servlets, GIF and HTML files, and a Web deployment descriptor. Web modules are packaged as JAR files with a .war (Web ARchive) extension. In the context of advanced Java and web development, a web module typically refers to a Java web application that follows the Java EE (Enterprise Edition) or … Read more