🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ibm.software.vajava.beans
Article #7

Referencing a Web Class from an EJB.

#7
From: Dennis Webb
Date: Thu, 21 Mar 2002 22:27
21 lines
2204 bytes
We are using WSAD 4.02.

We've created some non-bean utility classes and stored them in a source 
package we created in a Web Project.  They compiled okay and the .class 
files are in a package we created under the "bin" subdirectory in the 
Web Project.

Now  we've created an EJB Project and created an EJB, whose .java and 
.class files are stored in packages we set up in the EJB Project.

The problem we are having is that the EJB source for the Bean class 
won't compile cleanly.  It cannot locate the utility classes we created 
and which are stored in the Web Project.  We have an import statement at 
the top of the Bean class, referencing the package of utility classes in 
the Web Project.  But the compiler can't resolve the  import statement. 
 Is there some additional link we need to make so that EJBs can resolve 
references to Java objects that are stored in our Web Project?

Thanks.
-Dennis Webb
webbd@hoffman.army.mil
Technical Details
Message-ID: <3C9A5E35.1070009@hoffman.army.mil>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!feed2.news.rcn.net!rcn!cpk-news-hub1.bbnplanet.com!news.gtei.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.software.ibm.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109b1c,c1e491875adc29cc,start
X-Google-Attributes: gid109b1c,public
X-Google-ArrivalTime: 2002-03-21 14:43:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!feed2.news.rcn.net!rcn!cpk-news-hub1.bbnplanet.com!news.gtei.net!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!news.software.ibm.com!not-for-mail
From: Dennis Webb <webbd@hoffman.army.mil>
Newsgroups: ibm.software.vajava.beans
Subject: Referencing a Web Class from an EJB.
Date: Thu, 21 Mar 2002 17:27:01 -0500
Organization: IBM News Server
Lines: 22
Message-ID: <3C9A5E35.1070009@hoffman.army.mil>
NNTP-Posting-Host: tapcpro02.hoffman.army.mil
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.boulder.ibm.com 1016749563 47588 199.208.22.19 (21 Mar 2002 22:26:03 GMT)
X-Complaints-To: mattgar@us.ibm.com, tlew@us.ibm.com
NNTP-Posting-Date: 21 Mar 2002 22:26:03 GMT
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
X-Accept-Language: en-us