User Comments for the tutorial:

Stateless Session Bean Example

Total comments: 25      View Tutorial    Discuss: Stateless Session Bean Example



roseindia is simply superb 

Example not working
Respected Sir, I have follow the procedure that you have mentioned here but unable to successfully run the given example. This may be because of certain xml files are missing. please provide those files. 

Dear Sir, Some files are missing as this portion of the build fails. <copy todir="${jarDir}/META-INF"> <fileset dir="${deploymentdescription}/jar/" includes="ejb-jar.xml,weblogic-cmp-rdbms-jar.xml,weblogic-ejb-jar.xml" /> </copy> It fai 

problem while deploying
Hi, I tried to deploy state less session bean code, I got the following exception. org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.UnsupportedClassVersionError: Bad version number in .class file org.apache. 

Wow I have been looking all over the place in the internet a decent, very basic way, to have explained JAVA BEANS, and always so frustating and confusing, however this tutorial gives you the all steps, procedures, instructions CONGRATULATION FO 

Initial Contect not working
I could not able to get the object using this lookup, calculator = (CalculatorRemote) ic.lookup("example/CalculatorBean/remote"); hence getting error. How to resolve this 

very good. 

Does not work with Tomcat + Eclipse WTP + jdk 6
Hi, It does not work with Tomcat 6.0.18 + Eclipse WTP +jdk 1.6.0_11. The error is on CalculatorRemote calculator = (CalculatorRemote) ctx.lookup("example/CalculatorBean/remote"); "example is not linked to this context" How could I get the  

Shows exception while loading jndi name
i have deployed this Stateless Session Bean Example application, but it shows Error in JNDI name:$Proxy152 code: try { InitialContext ic = new InitialContext(); //calculator = (CalculatorRemote)ic.lookup(CalculatorRe 

this is a very good site for java student but if u gave some easy practical knowledge then it is better... 

problem in ejbcode
Hi My Question is when i run ejb3.0 Stateless calculator example an error occur Error:com.javajazzup.examples.ejb3.stateless not bound plz tell me how to remove this 

it will not run in TOMCAT
Dear Emmanuel, It will not work in tomcat,bcoz tomcat is only a web server, not an EJB container (or an app server) install JBoss first..then try. 

Issue with the downloaded ejb3.0 code
I downloaded stateless session bean code for ejb3.0 on jboss server. I delployed that code on jboss-4.2.2 server. But when i click hyperlink "Calculator Example" i am getting error "HTTP Status 404" with error description "The requested resource (/ex 

Please I want full calculator source code. 

It works fine for me
I just tried with zip file linked in the end and it works fine regardless missing files. You can use command ant -v to get verbose output from ant and see what happens. 

Works Fine But in Small Problem
Sir .. This Stateless Bean Works fine but the problem is that the out is not showing on the screen. in WebClient.jsp blank page only opening. not showing any exception or any text, except a blank white screen.I hope it should be solved soon 

Error solved
Hello to All, Insteda of this CalculatorRemote calculator = (CalculatorRemote) ctx.lookup("example/CalculatorBean/remote"); please write this... It will solve your error calculator = (CalculatorRemote)ic.lookup(CalculatorRemote.class.getNam 

your ejb examples are very explanatory and easy understanble.thank u very much for providing code 

EJB 3.0
Document is simple and understandable.Finaly it is very good. 

This tutorial is not up to date, Please explore it more.  

Hi, I have one query calculator = (CalculatorRemote) ic.lookup("example/CalculatorBean/remote"); from the jndi you are lookup. where you can get this jndi name to lookup without binding it? Please respond ASAP. Thanks, Manoj  

Jboss 4.2.2
I tried to run the application under Jboss 4.2.2 bu i got this error can any one tell me way ?! 12:04:26,734 INFO [STDOUT - 152] Error:$Proxy89 cannot be cast to com.javajazzu p.examples.ejb3.stateless.CalculatorRemote 12:04:26,750 INFO [ST 

Jboss 4.2.0
I got this Erro with Jboss 4.2.0 why ? what i must to do ? 12:57:14,140 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp- 12:57:14,156 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBos s_4_2_0_GA date=20070511 

ejb error
Sir .. This Stateless Bean Works fine but the problem is that the out is not showing on the screen. in WebClient.jsp blank page only opening. not showing any exception or any text, except a blank white screen.I hope it should be solved soon 

I found yourtutorial very helpful, but I am a kind of a beginer of jDeveloper an I am running jDeveloper. Can you please help me if I can run your source example in jDeveloper? Thanks a lot. 

Related Tutorial and Articles

Stateless Session Beans Example, EJB Tutorial
;${deploymentdescription}/jar/" includes="ejb-jar.xml,weblogic-cmp-rdbms-jar.xml,weblogic-ejb-jar.xml" /> </copy> <!-- Create jar file and place in ear 

Enterprise Java

EJB 3.0 Tutorials: Learn EJB 3.0 with Simple Examples
EJB 3.0 Tutorials: Learn EJB 3.0 with Simple Examples Enterprise JavaBeans or EJB are server-side component architecture used to create and deploy robust... of simple examples integrated with codes. So, begin with EJB 3.0 

EJB Questions

ejb  what is the best book to study ejb with examples in weblogic with (netbeans or eclipse)   Please visit the following link: 

EJB Questions

ejb  j2ee examples in weblogic   Please visit the following link:   Please visit the following link: 

EJB Questions

EJB  Dear Sir , Which book is good for learning EJB . THANKS AND REGARDS, SENTHILKUMAR.P 

EJB Questions

ejb - EJB
. For more information,Examples and Tutorials on EJB visit to : http... of 3.0 version.  Hi friend, EJB : The Enterprise JavaBeans architecture or EJB for short is an architecture for the development and deployment 

Hibernate Questions

Can you give me some good factory pattern examples?
Can you give me some good factory pattern examples?  HI, I am looking for some factory pattern examples to learn about them, if you can point me towards some of the examples that would we very helpful. Thanks   Hello 

Application Servers

Jboss 3.2 EJB Examples
in console-mode.. While, the EJB tutorials gave examples of accessing the EJB using servlets through Tomcat for all the Weblogic examples... this problem for good, we now proceed to develop examples for all the types 

Java Beginners

HOW TO BECOME A GOOD PROGRAMMER  I want to know how to become good programmer   Hi Friend, Please go through the following link: CoreJava Tutorials Here you will get lot of examples with illustration where you can 

EJB Questions

EJB in jsp code - EJB
the following links: in jsp code  Suppose in EJB we created the session bean, remote... can we access the EJB methods in the jsp file.... if u can present me