answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

βˆ™ 13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 12y ago

Enterprise JavaBeans (EJB) is the server-side and platform-independent Java application programming interface (API) for Java Platform, Enterprise Edition (Java EE). EJB is used to simplify the development of large distributed applications.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is EJB in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is Java Support Systems?

Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA


What are the benefits of java for the development of e-commerce portals for customers and suppliers like partsEdge?

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.


What is the Exact difference between core java advanced java?

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.


What does java and java fx do?

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.


What is the difference between Java and Java bean?

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.

Related questions

What is Java Support Systems?

Java support system includes: · Applets · Servlets · Java Beans · EJB · JSP · XML · SOAP · CORBA


What are the benefits of java for the development of e-commerce portals for customers and suppliers like partsEdge?

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.


What is all this JSP Servlets EJB Struts?

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.


How can you Send records from a Access database to remote server using java?

Ya we can use to do this by using EJB


How many types of java programing?

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


What is the Exact difference between core java advanced java?

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.


How do you get ServletContext object in EJB - 38k?

get servlet context path from EJB


What does java and java fx do?

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.


Projects on ejb ppt?

dd


What is the latest version of EJB?

3.1


What is the difference between Java and Java bean?

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.


What is the difference between RMI and RPC?

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