The Artima Developer Community
Sponsored Link

Java Answers Forum
applet calls EJB

4 replies on 1 page. Most recent reply: Dec 10, 2002 9:50 PM by Sonny

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 4 replies on 1 page
Alex Shaw

Posts: 15
Nickname: alexhaha
Registered: Dec, 2002

applet calls EJB Posted: Dec 10, 2002 2:29 AM
Reply to this message Reply
Advertisement
Now I want to use an applet embeded in IE to call an EJB on the server.
They worked well in JBuilder6.0,and there are:
test.html
eb/*.class (the classes of EJB)
ebaptest/test.class (the class of applet)
Generated Source/*.class (some class made by JBuilder)
under the directory %JBuilderworkingdir%/classes.
But I want to deploy them to weblogic6.1,and how to do that.
I've tried many methods,and failed.
After I input "http://localhost:7001/test.html" in the IE,then the message
"javax/ejb/EJBHome not found"
is displayed.
pls help me,THX


Sonny

Posts: 9
Nickname: proban
Registered: Dec, 2002

Re: applet calls EJB Posted: Dec 10, 2002 10:03 AM
Reply to this message Reply
Hi Alex,
I think the error is because of an incorrect deployment of EJB. In JBuilder thing are set up for you, so it works fine. I've work around with Weblogic, but never use EJB with applet. I you could send me a prototype applet that just call an Helloworld EJB, I'll try to help figure that out.

Sonny

Alex Shaw

Posts: 15
Nickname: alexhaha
Registered: Dec, 2002

Re: applet calls EJB Posted: Dec 10, 2002 5:18 PM
Reply to this message Reply
Thank you ,Sonny
but how can I contact you?

Alex Shaw

Posts: 15
Nickname: alexhaha
Registered: Dec, 2002

Re: applet calls EJB Posted: Dec 10, 2002 6:00 PM
Reply to this message Reply
Where is the friend who remind me the "codebase"? Have you used the function Archive Builder of the JB6.0? It makes a *.jar includes the classes and packages required.It is SBTutorial.jar.
The html file is
<applet
codebase = "SBTutorial.jar"
code = "aptutorial.testApplet.class"
name = "TestApplet"
width = "400"
height = "300"
hspace = "0"
vspace = "0"
align = "top"
>
</applet>

but "class not found aptutorial.testApplet.class " :(

Sonny

Posts: 9
Nickname: proban
Registered: Dec, 2002

Re: applet calls EJB Posted: Dec 10, 2002 9:50 PM
Reply to this message Reply
Hi Alex,
You can post the code here or send an email to pson@juno.com.

Sonny

Flat View: This topic has 4 replies on 1 page
Topic: Write an applet Previous Topic   Next Topic Topic: Internal vs regular frames

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use