What are the advanced features of EJB3.1?

Asked by Last Modified  

14 Answers

Learn Java

Follow 0
Answer

Please enter your answer

Experienced QA Trainer

1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to...
read more
1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to place an EJB jar into the WEB-INF/lib directory. 2. EJB Timer Service enhancements to support cron-like scheduling, deployment-time timer creation, and Stateful Session Bean timed objects. 3. Support for stateful web services via Stateful Session Bean web service endpoints. read less
Comments

Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to place...
read more
Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to place an EJB jar into the WEB-INF/lib directory. EJB Timer Service enhancements... more» read less
Comments

5+ years of experience in computer science with c++ for class 11th and 12th , java, spring mvc, angular.js for MCA, BCA, 12th, B.tech. Working as Team leader in IT company

EJB Interfaces are Optional -- @Stateless or @Stateful. The Singleton Beans are Here-@Singleton. It’s Time for Timer Service Features-@Timeout, @Schedule Stripped Down EJB Packaging-no need to create a separate EJB jar module. Rather, EJBs can be directly dropped into the WEB-INF/classes...
read more
EJB Interfaces are Optional – @Stateless or @Stateful. The Singleton Beans are Here-@Singleton. It’s Time for Timer Service Features-@Timeout, @Schedule Stripped Down EJB Packaging-no need to create a separate EJB jar module. Rather, EJBs can be directly dropped into the WEB-INF/classes directory and deployed as part of the WAR. In a similar vein, the ejb-jar.xml deployment descriptor, if you happen to be using one, can be placed into the WEB-INF directory along with the web.xml file. It may also be possible to place an EJB jar into the WEB-INF/lib directory. Asynchronous Invocation of Session Beans-annotating a session bean method with @Asynchronous. EJB 3.1 can also support a return type of java.util.concurrent.Futureread less
Comments

Coaching

-Singletons:A singleton is a new kind of session bean that is guaranteed to be instantiated once for an application in a particular Java Virtual Machine (JVM)\*. A singleton is defined using the @Singleton annotation. - Application Startup/Shutdown Callbacks. - Sample Application:The Java EE 6...
read more
-Singletons:A singleton is a new kind of session bean that is guaranteed to be instantiated once for an application in a particular Java Virtual Machine (JVM)\*. A singleton is defined using the @Singleton annotation. - Application Startup/Shutdown Callbacks. - Sample Application:The Java EE 6 SDK Preview release includes an application that uses each of the EJB 3.1 features covered in this tip. The application is composed of a servlet, a singleton session bean, and a stateless session bean. Each session bean exposes a no-interface view. read less
Comments

"Empowering Minds with 12+ Years of Expertise in Computer Science & Mathematics - Learn with Rajesh"

agree.
Comments

Optional interfaces for Session beans and Singleton beans. EJB Timer Service enhancements and simplified packaging. that have been discussed in detail—EJB Timer Service enhancements and simplified packaging. Remember, none of this has been finalized yet, although a draft of the specification will...
read more
Optional interfaces for Session beans and Singleton beans. EJB Timer Service enhancements and simplified packaging. that have been discussed in detail—EJB Timer Service enhancements and simplified packaging. Remember, none of this has been finalized yet, although a draft of the specification will be released for review soon. All of this is really just a peek into the inner workings of the JCP so that you have a chance to provide feedback. read less
Comments

Industry expert and professional lecturer/trainer

1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to...
read more
1. Support for direct use of EJBs in the servlet container, including simplified packaging options. The current thought is to allow EJBs in the WEB-INF/classes directory while allowing ejb-jar.xml to reside in the WEB-INF directory, just like the web.xml file. In a similar vein, you would be able to place an EJB jar into the WEB-INF/lib directory. 2. EJB Timer Service enhancements to support cron-like scheduling, deployment-time timer creation, and Stateful Session Bean timed objects. 3. Support for stateful web services via Stateful Session Bean web service endpoints - See more at: http://www.urbanpro.com/java-training-questions#sthash.GYgxBWqr.dpuf read less
Comments

Trainer

EJB Interfaces are Optional -- @Stateless or @Stateful. The Singleton Beans are Here-@Singleton. It’s Time for Timer Service Features-@Timeout, @Schedule Stripped Down EJB Packaging-no need to create a separate EJB jar module. Rather, EJBs can be directly dropped into the WEB-INF/classes directory...
read more
EJB Interfaces are Optional – @Stateless or @Stateful. The Singleton Beans are Here-@Singleton. It’s Time for Timer Service Features-@Timeout, @Schedule Stripped Down EJB Packaging-no need to create a separate EJB jar module. Rather, EJBs can be directly dropped into the WEB-INF/classes directory and deployed as part of the WAR. In a similar vein, the ejb-jar.xml deployment descriptor, if you happen to be using one, can be placed into the WEB-INF directory along with the web.xml file. It may also be possible to place an EJB jar into the WEB-INF/lib directory. Asynchronous Invocation of Session Beans-annotating a session bean method with @Asynchronous. EJB 3.1 can also support a return type of java.util.concurrent.Futureread less
Comments

Let's simplify Coding, It's a great Fun.

Hi, One of the great feature of EJB3.1 is that they are POJO which means the EJBs can now be unit tested without Enterprise Server. Second being POJO, they do not need to implement and extend any Server related interface or classes as in the earlier 2.x EJBs. Vijay
Comments

The best thing is you can deploy EJB 3.1 bean in Web server, app server is not required
Comments

View 12 more Answers

Related Questions

Can anyone know if there are tools/apps for representing the objects/classes/methods in the JVM in pictorial way?
rational rose and ibm software architect can be used for design and representation
Raghavendra Reddy
0 0
7
Which book is good for groovy and grails
Hi, The Best Book I suggest is "Beginning Groovy and Grails: From Novice to Professional"
Sumit S.

What do you understand by Object and Class?

An object is memory that can represent the data of real object , class is plan for object memory structure so we can say class is also a data typed for creating objects
Afsal
I am mechanical student. Can you please tell me opportunities in software field?
Yes, you can get an opportunity. I have seen many mechanical, chemical and biotechnology students are working in its sector. For that, you have to learn some IT courses.
Sainathgowd

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

CONDITIONAL STATEMENT - IF ELSE
1. IF condition only if is true conditon is required. if(condition){//statements} 2. IF-ELSE condition 1. to check whether the condition will be true or false.syntax of if-else2. only 1 conditionif(condition){//statements}else{//statements} 3....

Comparable vs Comparator
java.lang.Comparable java.util.Comparator For comparing some other object with its own object. Ex. I am comparing myself to some other employee. Method signature is: int compareTo (T object). For...

1.2. Find the largest element in an array.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; int max = arr; for (int i = 1; i < arr.length; i++) { if (arr > max) { max = arr; } } System.out.println("Largest Element: " + max); }}

Write your first Python program in 10 minutes
1. Download python from python official site search "python download" in google 2. Install in your machine 3. verify using : "python --version" command 4. Write first program using notepad create...

How 4 byte float can store 8 byte long values in java ?
long l = 12464545L; float f = l; (fine) int i = l ; (Error) if we see the how this magic happens as we know the answer lies in the floating point representation as in floating points values does not...

Recommended Articles

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Java is the most famous programming language till date. 20 years is a big time for any programming language to survive and gain strength. Java has been proved to be one of the most reliable programming languages for networked computers. source:techcentral.com Java was developed to pertain over the Internet. Over...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you