aspose file tools*
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
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 />----------------------------------
 
Don't get me started about those stupid light bulbs.
 
subject: AWT/SWING with EJB