Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger


Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Something about .... going for a swim. With this tiny ad ...
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic