This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
I am new to EJB3, and for the last couple weeks I've been studying EJB3 (following "EJB3 Developer Guide" book).
Now would like to start developing/coding my first assignment - building a simple Blog using EJB3 technology.
I am familiar with Databases, HTML & CSS, Servlets, JSP, and now addopting EJB3 concepts.
I need to build a Blog web app (using EJB3), using Eclipse IDE, Apache TomEE Web Server & Container, MySQL Server as database,
using Ant as a build tool and using "log4j" (not quite sure what is "log4j" used for). Web app should be build following MVC pattern:
- Model - JPA Entity
- Controller - Servlets
I have downloaded and set up Eclipse IDE, TomEE and MySQL Server.
What are the general steps/order in developing EJB3 application? What should I start with first, on which aspects to pay special attention?
Is there any particular reason for choosing this tool set for your project?
Seems somewhat overkill for a simple blog web application. A simpler solution is surely to be found.
Tim Driven Development
Joined: Jul 22, 2013
Thanks for quick reply.
Actually, this is project from one subject on faculty, with its requirements. (I shouldn't write a word "simple" )
I am aware that there is a lot to do, that's why I'm asking how to start, wouldn't like to miss the path. This is the architecture look:
My knowledge of EJB is deliberately limited so am not in a position to help you if you decide/have to go that route. I was merely suggesting that using EJB's for a blog web application is adding an enormous amount of unnecessary complexity. You would be far better off using something like Spring and Spring MVC or even the Play Framework.