aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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://aspose.com/file-tools
 
subject: EJB 3.1 - No interface client view
 
Similar Threads
HFEJB C4 Pg 249/256 Q17 - Error
When did the Stateful Sessionbean created?
Why CMT session bean must specify for all business methods in the component interface
quick EJB question on @remote
EJB 3 Client View