IntelliJ Java IDE
The moose likes EJB and Other Java EE Technologies and the fly likes EJBs may not use SWIFT? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and Other Java EE Technologies
Reply Bookmark "EJBs may not use SWIFT?" Watch "EJBs may not use SWIFT?" New topic
Author

EJBs may not use SWIFT?

Guennadiy VANIN
Ranch Hand

Joined: Aug 30, 2001
Posts: 898
Here are two citations from
Chapter 15, section "Enterprise JavaBeans" of Bruce Eckel's "Thinking in Java", Ed.2 (http://www.bruceeckel.com)
<blockquote>
subsection "JavaBeans vs. EJBs"
Because EJBs can potentially run on many different server-side platforms�including mainframes that do not have visual displays�An EJB cannot make use of graphical libraries such as AWT or Swing.</blockquote>
and
<blockquote>
subsection "The EJB specification", table
Application Assembler Role: Creates and assembles applications from a collection of ejb-jar files. This includes writing applications that utilize the collection of EJBs (e.g., Servlets, JSP, Swing etc. etc.).
</blockquote>
So, is it impossible for EJB to use SWIFT components?
How it is arranged: is it compilation or run-time error?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3878
I think you're a little backwards. The EJB client can use any technology it wants (as the second quote indicates) but the EJB implementation is restricted from using them.
Usually the restriction is done with some sort of EJB validator, although many implementations don't do anything
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
 
IntelliJ Java IDE
 
subject: EJBs may not use SWIFT?
 
Threads others viewed
Interview story
Swing and ofbiz (type) frameworks
Differences between EJB and regular Java Beans
Very important fot me!!!!
what is meant by distributed?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture