aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Local view vs No-Interface view Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Local view vs No-Interface view" Watch "Local view vs No-Interface view" New topic
Author

Local view vs No-Interface view

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

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


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3233
    
    7
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


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1734
    
  25

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

Joined: Feb 03, 2004
Posts: 577

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
Bartender

Joined: Apr 07, 2010
Posts: 1734
    
  25

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

Joined: Feb 03, 2004
Posts: 577

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

Joined: Sep 23, 2000
Posts: 3336
    
    8
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.

Enthuware - Best Mock Exams and Questions for Oracle/Sun Java Certifications
Quality Guaranteed - Pass or Full Refund!
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Thanks Paul.

No problem, will do.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Local view vs No-Interface view