I need to make simple CRUD web app (i’ll get paid for it), but i don’t have any experience in java web development, so i have a few questions just to get going.
As far as i understand there’s 2 ways to do it: using pure javaee with ejb and glassfish server; using spring in any other container. The problem is i don’t quite understand those technologies and don’t have much time to learn. So I’ve found this http://wrschneider.blogspot.com/2011/09/jsf-jpa-without-ejb-or-spring.html and http://www.swview.org/blog/best-way-use-jpa-web-tier. Looks perfect for my first app.
Is this going to work for me?
Please have a look at the links i posted. What do you think about them? Thats my question.
If this really going to be a simple CRUD app, I would suggest you to use plain JSF or JSP with JPA. EJB and Spring are really not easy to learn, so I would stay away from them. Also you can try some other framework which may simplify this for you(like Play).
And I if you will avoid EJB, I would suggest you to swich to Tomcat application server, it’s more lightweight and easier to run and configure(and it’s everything what you need in JSF/JSP project)