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
posted
0
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.