This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB 3.1 - No interface client view

 
Rakesh K. Cherukuri
Ranch Hand
Posts: 48
Eclipse IDE Fedora Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic