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 and regards,<br />SanKet Modi
posted 6 years ago
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