|
Components
Components - Put simply, a component is an application running in a given environment. Adding little complexity to this statement: This application might include numerous java classes; may or may not be capable of running alone; may require high security features etc.
As discussed, J2EE specification defines following four types of component types:
Application Clients - These are basically desktop applications. They are functionally similar to any other programs running on our computers. They could be music player programs like winamp, windows media player; or accounting softwares like tally, or spreadsheet software like MS Excel, video games like Quake; anything.
Applets: GUI components, typically executed in a browser but eventually executed on a simple client machine. For e.g., you might have seen cricekt score cards on various sites that keep on updating themselves.
Web based GUI components: GUI applications built to be used on web. These could be built using numerous web based J2EE technologies like servlets, JSP, JSF, Spring, Struts etc.
EJBs: Business logic components typically executing in managed environments to support transactions. EJBs are typically used for scenarios where transaction security is of prime importance and no. of users logged in simultaneously is very high.
|