Why is ejb2.X considered as heavy weight and ejb3.0 is considered as light weight?What you mean by heavy/light weight? How it affects the performance of server?
we have to make remote interface using @Remote in an ejb3 application
using ejb2 framework application provides the business layer logic's in distributive and secured manner but it is little bit heavy weighted and complex, so to reduce its complexity and to overcome the...
What is the need of ejb?
a business application consist of different-different layers like 1) User Interface development 2) Business logics development 3)database operation development EJB is used for Business logics develo...
EJB : It provides another layer where the platform's logic is stored. an EJB server provides functions such as Threading , concurrency , security and memory that(all of them ) is not provided by other container like tomcat so we need a EJB container.
What are the contents of a web module?
a small unit of a web resource which can be deploy, can be used in our application is a web module.
for our banking or any other business application J2EE platform is a web module.
How to make the connection to jms queue using ejb 3.0, weblogic 10.3
How to find who has given request (caller) to business method of your application(slsb)
How can we update a row in the db using entity bean?
Yes, we can update a row using entity bean.
ejbStore() will do that.
in BMP you have to write code to update the row.
Comparison between ejb2.0 and ejb3.0
The deployment descriptors are no longer required; everything can be accomplished using metadata annotations. The CMP (Container Managed Persistence) has been simplified; it is now more l...
The major differences i have seen between EJB 2.x and EJB 3.0 versions are as follows :- 1). Removal of home interface enabled simple lookup process in ejb 3.0 2). EJB deployment descriptors are not r...
What is the expansion for blob & clob?
Blob Stands for Binary Large Object.
Clob Stands for Character Large Object.
BLOB: Binmary Large Object
CLOB: Character Large Object
Both of these are used to store large amounts of data.
What is metadata annotation?How it is useful in ejb 3.0?
Map entity bean field with Oracle
How to map the entity bean field with Oracle?
Why is jndi used.Do we have any alternative for jndi?
Explain the need and usage of node manager in Java
Is there any special reason to write two interfaces in ejb(local , home interfaces ). Why don't we write only one interface .
Why do we require to write a deployment descriptor (ejb-jar.Xml) in an XML format ? Why don't we write it in a Java file ?
How to send the JSP page directly to the application with values from the ejb
What is jms and message driven bean. Explain with some examples.
message driven is like printer,
it wont get reply from destination
How ejp aplication communicate with JSP or servlet
To access a servlet/jsp from EJB create a URL and call its openStream() method.URL google = new URL("http://www.google.com/"); BufferedReader in = new BufferedReader(new InputStreamReader(go...
JSP or Servlet can communicate with EJB by giving the jndi name of that EnterpriseJavaBean in the lookup method of InitialContext.It will return a reference for the home interface of EJB.
EJB 3.0 is not really light-weight. EJB 3.0 differs from its earlier versions in terms of development and NOT performance. Using pojos and annotations, unwanted method implementations and deployment d...
EJB 3.0 is not really light-weight. EJB 3.0 differs from its earlier versions in terms of development and performance. Using pojos and annotations, unwanted method implementations and deployment descr...