Part I has shown how to use the Eclipse IDE for Java EE Developers to create Java persistent entities from database tables. This screencast completes the JEE application.
In this screencast:
- How to create a session bean
- Configure persistence unit
- Deploy on JBoss
- Create a JEE client
Create a session bean and deploy JEE application:(02:40):
Create a JEE client (01:35):
For basic installation instructions of the Eclipse IDE for Java EE Developers see tutorials from eclipse.org site.
For this tutorial we have used materials from:
11 comments:
These are awesome tutorials! Helped me a lot!
@Siamak:
That error usually means that deployment has failed. Take a look at log file.
@Tarcio:
Thank you very much!
I couldn´t deploy, it seems to be an error with my JBoss datasource. Do I need to change it from hsqldb to mysql? I´m now using JBoss 4.2.0 GA and I dont know how to configure the ds, any sugestions on how to do this task?
thanks in advance
Yes, it is necessary to configure the datasource to use mysql.
hello...
this is a great tutorial..
but I have an runtime error whenever running Client.java..
here is the error:
Exception in thread "main" javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
and..
Caused by: java.net.SocketTimeoutException: Receive timed out
would you explain what's wrong in this condition. My development environment is exactly same with the tutorial...
Thanks in advance..
Your tutorials helped me a lot. Thank you!
What a nice tutorial. Thanx a lot. But you didn't upload any project example to download and resue. So I have upload whole 3 modules demoJPA, demoJSF and demoEAR. Because I have searched so many times.
Here is the link to download the zip archive. Only contains above 3 projects.
http://www.chamika.net/other/otherres.html
Hi,
This was good until I tried to deploy the test client. New to Eclipse and JBoss so please be patient. When I attempt to run the test client I get the following error message:
Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:284)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.jboss.tutorial.entity.client.Client.main(Client.java:40)
I know I'm doing something fundamentally wrong, although I must admit that I followed all instructions and did the project twice ...
Quite frustrating. Hope someone sees this and responds.
Regards
Vp
Folks,
I can't see any demo !!
Is there a way to download them for offline view ?
I hope, everything is working now. Thanks for your comment.
Post a Comment