What are not allowed within the ejb container? , JAVA Programming

Assignment Help:

In  order  to  provide  portable  and  reliable  EJB  elements,  the  following  restrictions  apply  to  EJB  code implementation:

1. Avoid using static non-final fields. Defining all static fields in EJB component as final is recommended. This enables the EJB container to provide instances across multiple JVMs.

2. Avoid starting a using thread or new thread synchronization.

3. Avoid using Swing or AWT functionality. EJBs are server side business elements.

4. Avoid using java.io operations or file access. EJB business elements are meant to use source managers such as JDBC to retrieve and store application data. But deployment descriptors may be used to store .

5. Avoid listening or accepting to socket connections. EJB components are not meant to give network socket functionality. However the specification lets EJB elements act as RMI clients or socket clients.

6. Avoid using the reflection API of java. This restriction enforces Java security.

 


Related Discussions:- What are not allowed within the ejb container?

Application to control robot arm , I send you these files in order to make ...

I send you these files in order to make clear image about my task that I want you to design for me an application for PC that used to control robot arm via micro controller PIC18.

Method overriding, how to write java programe and example programe

how to write java programe and example programe

Explain the for loop in java, Explain the for loop in java? // This is ...

Explain the for loop in java? // This is the Hello program in Java class Hello { public static void main (String args[]) { System.out.print("Hello "); // Say Hello

How can you define a consistent web design, How can you define a consistent...

How can you define a consistent web design? Why is it needed? A consistent excellent designed website is generated for common public which permits users to attain what they nee

What is a framework, A framework is made up of the set of classes which per...

A framework is made up of the set of classes which permit us to use a library in a best possible way for a particular requirement.

Kik messenger program, Kik Messenger is a plan mobile messenger like Skype....

Kik Messenger is a plan mobile messenger like Skype. It's available on each major smart phone for Android and Iphone. Here is the entire process: Could be able to add multipl

State how many arguments were passed using length property, Determine how m...

Determine how many arguments were passed using length property In java, array knows their size by using the length property. By using, length property we can determine how many

Explain overriding methods and the solution, Explain Overriding Methods: Th...

Explain Overriding Methods: The Solution The object oriented solution to this problem is to describe a new class, call it SlowCar, that inherits from Car and imposes the additi

Servlet pages from being cached by the browser, How do I prevent the output...

How do I prevent the output of my JSP or Servlet pages from being cached by the browser? Ans) You will require to set the appropriate HTTP header attributes to stop the dynamic

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd