i developed a Stateless Session bean program.And created a
client by a common java class as
class m
{p s v m(String s[]){....}}
And i called the bean deployed in weblogic.from cmd prompt
And that run.
mind it i have to set setenv,seting classpath for that bean
jar file before compile and run it.
ok
when i do a servlet programme deployed in tomcat and call
that bean then it give classdefnotfoundException and
NoInitialContext like this.So how i sucessfully do this?
Ok
when i call that bean from java class from the console like
i previously told, if i don't set setenv i found the same
error on the cmd prompt.
pls help to get out of it
Answer Posted / ashutosh
tomcate is webserver..and ejb is distributed component we
cant deploy it in web server so we need app server just use
weblogic.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How do you compile java?
What is instance in java?
What is j2ee product?
What is the description for expression element?
What is declarative security ?
What is included in j2ee?
you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?
What does the web module contain?
to update a batch in a table in jdbc which method of statement object is used
What is j2ee api?
Is j2ee a language or framework?
What is a plugin in java?
What is application configuration resource file?
What is awt panel java?
what is direct link to download swing ebook,applet,ejb,core java