EJB generally is used for the following reasons -
1. To extract the business logic from web tier and implement the buginess logic in ejb.
2. EJB can also run on different system. So for big application to reduce load buniness logic implementation code can be executed in different system.
3. Since to run the EJB, develop needs an EJB container. So these are following activities are managed by the EJB container -
i. To handle resouce polling. Basically EJB container create EJB instance and place in poll to ready when require it provides the instance.
ii. Transaction management using @ContainerBeabManaged annotation
iii. Threading
iv. concurency handleing
Thanks
aswini.de@gmail.com
Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA
JAVA is excellent at security and transaction management, which are achieved by EJB (Enterprise Java Beans ).As EJB is only one distributed technology used for business processing of an organization efficiently. It is more faster as compared to other technologies.
Core java consists of basics of java language (OOP, Threading, Exceptions, Collections, Annotations, Internationalization etc) along with other technologies like JDBC, Servlets. Advanced java is the next step of core java. This consists of JSP, EJB, Beans etc.
JAVA is Group Of Technologies Like Java SE, Java EE, Java ME and Java FX is a Latest Technology Released From SUN Micro Systems Sun Developed Java FX as Counterpart to Microsoft's Graphics Libraries and Rich Support of Visual Studio to GUI Classes of .NET Framework. But in JAVA FX We can Do some advanced Graphics Operations in Programming Apart From AWT & Swing of Java SE and Rich Internet Application Technologies Like Enterprise Java Beans (EJB),JSP Of Java EE.
AnswerMostly the java class and the Bean class are similar one.In Bean class we have getter and setter methods.Its just a naming convention.RegardsSanthosh raoInhttp://forums.sun.com/thread.jspa?threadID=526214Java Beans follow the Bean conventions:(1) Default, no-arg ctor,(2) Serializable,(3) getX()/setX() or isX()/setX() naming convention for read/write access to private data member X,(4) Can use java.bean.PropertyChangeEvent to notify interested parties when values change.(5) Can use java.bean.PropertyChangeListener to register for notification when a particular property changes."Normal" Java classes aren't required to follow any of these conventions.There's a great [url=http://java.sun.com/docs/books/tutorial/javabeans/]tutorial[/url] on Java Beans from Sun.
Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA
JAVA is excellent at security and transaction management, which are achieved by EJB (Enterprise Java Beans ).As EJB is only one distributed technology used for business processing of an organization efficiently. It is more faster as compared to other technologies.
JSP stands for java server pagesStruts is an elegant, extensible framework for creating enterprise-ready Java web applications.Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems.Enterprise JavaBeans (EJB) technology is the server-side component architecture for Java Platform, Enterprise Edition (Java EE). EJB technology enables rapid and simplified development of distributed, transactional, secure and portable applications based on Java technology.
Ya we can use to do this by using EJB
Java 2 Programming Language Java Server Pages (JSP) Java Beans (JB) Enterprise Java Beans (EJB) Java Script (JS) Java Server Faces (JSF) JDBC Java 2 Enterprise Edition (J2EE) by jaan from dubai
Core java consists of basics of java language (OOP, Threading, Exceptions, Collections, Annotations, Internationalization etc) along with other technologies like JDBC, Servlets. Advanced java is the next step of core java. This consists of JSP, EJB, Beans etc.
get servlet context path from EJB
JAVA is Group Of Technologies Like Java SE, Java EE, Java ME and Java FX is a Latest Technology Released From SUN Micro Systems Sun Developed Java FX as Counterpart to Microsoft's Graphics Libraries and Rich Support of Visual Studio to GUI Classes of .NET Framework. But in JAVA FX We can Do some advanced Graphics Operations in Programming Apart From AWT & Swing of Java SE and Rich Internet Application Technologies Like Enterprise Java Beans (EJB),JSP Of Java EE.
dd
3.1
AnswerMostly the java class and the Bean class are similar one.In Bean class we have getter and setter methods.Its just a naming convention.RegardsSanthosh raoInhttp://forums.sun.com/thread.jspa?threadID=526214Java Beans follow the Bean conventions:(1) Default, no-arg ctor,(2) Serializable,(3) getX()/setX() or isX()/setX() naming convention for read/write access to private data member X,(4) Can use java.bean.PropertyChangeEvent to notify interested parties when values change.(5) Can use java.bean.PropertyChangeListener to register for notification when a particular property changes."Normal" Java classes aren't required to follow any of these conventions.There's a great [url=http://java.sun.com/docs/books/tutorial/javabeans/]tutorial[/url] on Java Beans from Sun.
RMI simply offers remote access to an object running in another process. But EJB offers far more services than RMI. EJB leverages this remote-object feature of RMI, but also provides other services such as persistence, transaction management, security, and resource management. The EJB server provides all of these complex services which allows EJB developers to worry about business logic instead. For a complete understanding of EJB i suggest Http://edocs.bea.com/wle/rmi/sampejb.htm