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

Master Computer Science & Mathematics with 13+ Years of Proven Teaching Excellence.

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

What is a good foundation course for JAVA?
I will not prefer any programming language or technology instead, You can focus on Concept and Principles. Because when you say your a programmer you should be a programmer rather than saying Java programmer,...
Rajeev J
Presently is swings and applets are important in java ?
When compared to swing, nowadays SWT is getting popular, where you can built a application like eclipse.
Mahender
Which is a good Java training and placement institute for a fresher in Bangalore?
I know an institute in HYderabad which is giving 100% job guarantee or 100% fee refund. They have office in bangalore also, not sure whether they are offering this program in Bangalore. Please visit their...
Raja
0 0
5
What is a complete list of topics of Core Java and topics of Advanced Java?
Core Java : Class ,Object,JVM,Thread,Interface,Exception,static ,Final . Advance Java : Collection,Collection Framework,JDBC,Servlet,Jsp
Chandramami
0 0
5
Which is best to build web applications: PHP, Python, or Ruby? Why?
I have used almost all of the three language in my web working experience.PHP:It may be not that cool and I think it doesn't rely too much on the framework. Yes, PHP is just a language, but it is the only...
Sunil
0 0
7

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

Ask a Question

Related Lessons

SWITCH STATEMENT IN JAVA
switch statement - condition statement - only once the checking takes place so we recommend use break statement. switch(condition/variable/choice){case 1: //statements break;case 2: // statements break;case...

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

1.1. Reverse an array in Java.
public class Main { public static void main(String args) { int arr = {1, 2, 3, 4, 5}; for (int i = 0; i < arr.length / 2; i++) { int temp = arr; arr = arr; arr = temp; } System.out.println(Arrays.toString(arr)); }}

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
0

JAVA OOPs Concepts (Object-Oriented Programming System)
JAVA OOPs Concepts (Object-Oriented Programming System) It is primarily having below crucial points. Without below essential points, we will never be able to achieve OOPs in java, PHP, C#, etc. Now let...

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