This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes AWT/SWING with EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "AWT/SWING with EJB" Watch "AWT/SWING with EJB" New topic
Author

AWT/SWING with EJB

Kuppusamy Venkatasubramanian
Ranch Hand

Joined: Dec 30, 2004
Posts: 91
Hi all,

Below are my doubts. Pls. clarify.

1) In the mock exam in HeadFirst, for Q-No: 20, When programming a message-driven bean class which technique should be avaoided to ensure bean portability across all EJB 2.0 Containers?

A) Using Swing APIs for a GUI
B) Using the 'transient' modifier
C) Using native libraries
D) Reading file descriptors

According to the spec/HeadFirst Book, Usage OF AWT is only prohibited. Pls. clarify. If both AWT and SWing cannot be used with EJB means, no client applciation can be designed in Java to interact with EJB. Isn't it?


SCJP1.4, SCBCD 1.3, SCWCD 1.4, SCEA 5, JLPT-N3
My Blog
Malini Raja
Greenhorn

Joined: Mar 29, 2004
Posts: 6
This applies to all types of Enterprise beans not only MDBs.
The specs. means that the EJB located inside a container on the server
must not be exposed directly for modification through a GUI.
A GUI client however can be designed to access an EJB through a remote
interface so that the EJBObject can perform the necessary checks as the bodyguard to the bean. This way the bean that performs the services is completely protected from server security breaches.

Malini


----------------------------------<br />SCJP<br />SCWCD<br />IBM-141 XML& related technologies<br />SCBCD<br />----------------------------------
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AWT/SWING with EJB
 
Similar Threads
distributed object
Using entity beans in project
distributed method invocation
Distinction between Stateful and Standard session bean.
JMenu hides behind components