Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local view vs No-Interface view

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is the advantage of Local view over No-interface view(Not in terms of coding. But, in terms of any other functionality/access/etc.)? I understand both are used on the same JVM.

Cheers,
Naren
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

No any advantages of no-Interface view.

I would say it has worse encapsulation, because all public methods are to be exposed to client.

Best regards,
MZ
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Mikalai and I want to add that the client of a local view (including no-interface view) should not only be in the same JVM, but also in the same application (ear).

The specs are specific about this
3.2.2 Local Clients
Access to an enterprise bean through the local client view is only required to be supported for local clients packaged within the same application as the enterprise bean that provides the local client view. Compliant implementations of this specification may optionally support access to the local client view of an enterprise bean from a local client packaged in a different application.


Regards,
Frits
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Excellent, thanks Mikalai and Frits

By the way, I have got Enthuware mock exam simulator and I'm enjoying it (not when I fail though ). Well done Frits!

Cheers,
Naren
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2536
113
Android Chrome Eclipse IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naren Chivukula wrote:
By the way, I have got Enthuware mock exam simulator and I'm enjoying it (not when I fail though ). Well done Frits!

Well that is too much credit, I didn't author those , only the notes in the ScbcdLinks. Of course I must agree that the question bank is really good (as I have used it myself).

Regards,
Frits
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frits, if I have any questions (I have indeed, noted down as I go along the EJB3.1 spec), can I post the ones specific to Enthuware software/EJB3.1 summary pdf, on Enthuware forum?
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3819
10
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naren Chivukula wrote:Frits, if I have any questions (I have indeed, noted down as I go along the EJB3.1 spec), can I post the ones specific to Enthuware software/EJB3.1 summary pdf, on Enthuware forum?

Yes, if you have any question about any question, you can just click on the Discuss button on the question screen and it will show you any existing discussion on that question or a new topic for that question will be created for you if no such discussion exists.

FYI, Frits helps out many people here on JavaRanch but only as a volunteer. He is not the author of this particular question bank and is not obligated to respond to your queries but someone from Enthuware will respond if you post a query as described above.

HTH,
Paul.
 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Paul.

No problem, will do.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic