Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

novice to j2ee

 
Sanket Modi
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i want to make an application using jee 5 technologies. i want to use jsp or jsf, web services, ejb 3 and mysql. i am using netbeans 6.5 ide. i am able to create sample applications for these technologies separately. i have created application of jsp. jsf. web services, ejb. but i cant combine them all together. anyone can explain me how to do? is there any tutorial available for this? i have learned from some sites.
thanks,
sanket
 
Musab Al-Rawi
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can search for tutorials.. there are some that are useful.

Here are a couple of tips to get you started:
- Create an enterprise application: this will contain EJB module and WAR so make sure that you click on the checkboxes you find in the create enterprise project window
- right-click on the EJB module and create a persistence unit, if you are interested in using JPA
- right-click on the EJB module and choose create Session bean, alternatively you can create a session bean for a created JPA entity, nice wizard
- right-click on the WAR project and create servlets

Deploy the enterprise application and run your servlets
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic