File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB 3.1 - No interface client view Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "EJB 3.1 - No interface client view" Watch "EJB 3.1 - No interface client view" New topic
Author

EJB 3.1 - No interface client view

Rakesh K. Cherukuri
Ranch Hand

Joined: Jun 01, 2010
Posts: 47

Regarding no interface client view, the spec says
A Session Bean’s no-interface view is a variation of the Local view that exposes the public methods of the bean class without the use of a separate business interface.

It also says
A client does not directly instantiate (use the new operator on) the bean class to acquire a reference to the no-interface view.

Googled it couple of times but couldn't find answer for "Is there a way to prevent client from using new operator ?"

Appreciate any comments.


Warm Regards,
Rakesh
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: EJB 3.1 - No interface client view
 
Similar Threads
EJB 3 Client View
quick EJB question on @remote
When did the Stateful Sessionbean created?
HFEJB C4 Pg 249/256 Q17 - Error
Why CMT session bean must specify for all business methods in the component interface