File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Steps/order in developing EJB3 apps? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Steps/order in developing EJB3 apps?" Watch "Steps/order in developing EJB3 apps?" New topic
Author

Steps/order in developing EJB3 apps?

Vladimir Razov
Ranch Hand

Joined: Jul 22, 2013
Posts: 42
Hello all,

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
- View - HTML, CSS, JavaScript, JSP, EL and JSTL
- 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?

Any help and advices are greatly appreciated.


Tim Cooke
Bartender

Joined: Mar 28, 2008
Posts: 1234
    
  67

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
Vladimir Razov
Ranch Hand

Joined: Jul 22, 2013
Posts: 42
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:


[Thumbnail for architecture.jpeg]

Tim Cooke
Bartender

Joined: Mar 28, 2008
Posts: 1234
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Steps/order in developing EJB3 apps?