How to call main class with in main class?
Answers were Sorted based on User's Feedback
Which edition of java is used for web application?
What are different modules in spring?
What is application configuration resource file?
I Want build and release interview questions
What is j2ee stand for?
What is j2ee tutorial?
What are the types of j2ee clients?
What are j2ee technologies?
How can we serialize a jsp page.
What is java listener?
What is jta and jts?
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