1.What is J2EE?
J2EE is a platform-independent, Java-centric environment from Sun for developing, building and deploying Web-based enterprise applications online. The J2EE platform consists of a set of services, APIs, and protocols that provide the functionality for developing multitiered, Web-based applications.
Java is a general purpose, high-level programming language developed by Sun Microsystems. The Java programming language was developed by a small team of engineers, known as the Green Team, who initiated the language in 1991. The language was originally called OAK, and at the time it was designed for handheld devices and set-top boxes. Oak was unsuccessful and in 1995 Sun changed the name to Java and modified the language to take advantage of the burgeoning World Wide Web.
3.How do you differentiate between Core Java and Enterprise Java?
Core Java is something that provides the API’s like regular expression, String handling, collections. But enterprise java involves writing scalable, secure and per-formant applications which can have large user base.
4.What are the J2EE components used while creating an application?
– The J2EE components consist of the functional unit that is used in the application and all the classes of it are also will get used to communicate with various components.
– The J2EE is having several components like :
- Application clients and applets : These components run on the client side to provide the user interface and easy access to applications.
- Java Servlet and JavaServer Pages technology : These are used on the server side to deal with the web related technology. They provide the web related functionalities and user interfaces so that the client can interact with them.
- Enterprise JavaBeans : These are the components that are used for businesses and they are also implemented and run on the server. These are very useful in providing the core and advanced functionality to the user.
5.What is the purpose of web client in J2EE?
The web client is very important part and it has other two parts that defines the way it functions :
– Dynamic part : That gives the dynamic web pages using various markup languages like XML, HTML, etc. This is the part that is generated by using the web components that run in the web tier. The web browser is required to render the pages.
– Static part : That provides static pages from the server to the client that doesn’t change according to the demands. It remains static all the time and provide the information that is like support information or about us.
– The web client is known as thin client that is a very simple web based client doesn’t do any query, execution of business rules and connecting applications. It provides lightweight operations and provides the security, speed and different services to run the applications on the server.