aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB and JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB and JSP " Watch "EJB and JSP " New topic
Author

EJB and JSP

Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
I'm new to EJB's. I'm making a simple hello world EJB I have the eJb written and need to call it with the JSP. I need the following to call it the id, scope, class, and type. Where do I name these terms and what is the syntax to name them.
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
You may have to read the following thread

http://forum.java.sun.com/thread.jspa?threadID=514536&messageID=2449489

and google using the following keywords
call ejb from jsp
[ October 09, 2006: Message edited by: karthi keyan ]

http://www.skillassert.com


Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
This is what I found from google"ing" and I keep getting a couple errors mess is the package name which netbeans does not like. It says it's an illegal package call on the bean
<body>
<jsp:useBean id="message" scope="session"class="SimpleBeans" />
<jsp:getProperty name="message" property="mess.Simplebean"/>
</body>
All I want to do is see a working hello world so I know I can do it.
Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
Ps. I figured out what all the terms mean.
Donna Bachner
Ranch Hand

Joined: Oct 08, 2004
Posts: 109
I got it working
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
Congratulations.. :roll:

But
relates to Java Beans and not EJB..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB and JSP
 
Similar Threads
action mapping ??
When calling a Remote EJB Object
JNDI Context Problem
calling ejb from jsp
Call an EJB from JSP