Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Steps/order in developing EJB3 apps?

 
Vladimir Razov
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 3146
136
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Vladimir Razov
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
architecture.jpeg
[Thumbnail for architecture.jpeg]
 
Tim Cooke
Sheriff
Pie
Posts: 3146
136
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic