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

Hi , this is Mithun Ghosh from Kolkata. I want a suggestion about the course content of teaching Java starting from core to Advanced level. Please anyone do help with a legible course content. Thanks in advance -- Thanks & Regards, Mithun Ghosh
Hi Mithun, This is AkiraITSolutions, We do provide real time training with real time employees, who ever having more than 10 years of IT Experience. For further details please feel free to reach us.
Mithun Ghosh
How many classes will it take to learn core Java?
25-35 . depends on the student's previous knowledge on any programming languages
Gene
Is it possible to learn java at home without coaching in one month?
It all depends on you. If you are already aware of programming then it is definetly possible to learn java at home. But if learn through a tutor then you can learn easily.
Pritom
0 0
5

What are major difference between JAVA & Python? Where you would recommend to use JAVA and where need to use Python?

Python is one of the most used programming language than Java. With the recent Popularity of the Machine learning, Artificial intelligence and Data science Python takes the first place of the Top 5 programming...
Amit Kumar
0 0
5

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

Ask a Question

Related Lessons

jOOQ 3.10 Supports JPA Attribute Converter
One of the cooler hidden features in jOOQ is the JPADatabase, which allows for reverse engineering a pre-existing set of JPA-annotated entities to generate jOOQ code. For instance, you could write these...

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...

Java Overview
Java platform overview Java platform components The Java platform consists of the following components. The Java language Like any programming language, the Java language has its own structure, syntax...
A

Akshay Shende

0 0
0

Class and Objects in Java
Class is a template or a blueprint which is used to describe an object. On other hand Object is a reference of a class which follows all the stuff written inside the class. How about taking the whole tour in the following video

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

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