Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBs may not use SWIFT?  RSS feed

 
Guennadiy VANIN
Ranch Hand
Posts: 898
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!