aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Design Decision help needed 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 "Design Decision help needed" Watch "Design Decision help needed" New topic
Author

Design Decision help needed

Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
I've implemented a sample MRP (material resource planning) system using just JSPs and HTML. I'm using apache + TOMCAT as the web server.

Eventhough it works, i'm not happy with it. I want to redesign and implement it in a better way.

I need inputs on the following:
1. Currently i use buttons. Want to replace with menus. Any best freely available menus available? If so, pls inform.

2. I'm currently using ms-access. Like to replace it with postgreSQL. Hope it's better than ms-access and can handle more data. Any comments, pls inform.

3. Like to replace JSP and HTML with good design components like MVC architecture. If so, will apache + tomcat can handle servlets and EJBs? If not, which free application server available? Will this be a good design choice? If not, what other components i can include and how?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

3. Like to replace JSP and HTML with good design components like MVC architecture. If so, will apache + tomcat can handle servlets and EJBs? If not, which free application server available? Will this be a good design choice? If not, what other components i can include and how?


Tomcat cannot host EJBs. JBoss is a free application server which can host EJB and it also is bundled with Tomcat web container. For your persistence layer you could consider Hibernate ORM framework which is light weight ,easier to develop and test than Entity beans.


Groovy
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
I'm planning to use DAOs rather than entity beans. Just have session beans and DAO for doing data access/saving tasks. Will it be ok? I don't want to use any frameworks.

What will be your opinion on this?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1373
Whether it's stateless or statefull session Bean ?
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Its a combination of stateless and stateful session beans.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by Laxmi Raghu:
I'm planning to use DAOs rather than entity beans. Just have session beans and DAO for doing data access/saving tasks. Will it be ok? I don't want to use any frameworks.

What will be your opinion on this?


DAO will be fine for reading data but for updates how are going to handle concurrency issues. So I suggest that you some OR mapping framework like Hibernate.
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Thanks Pradip for the inputs. I will use some OR mapping framework like hibernate.

How about other points like using postgreSql, servlet as controller and JSP as view? Hope should be fine.

I want to develop this application as a product so that i can bundle it and give it to third party for their use. I want to use all open source technology for developing this project.

Any inputs or suggestions are higly appreciated.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

How about other points like using postgreSql, servlet as controller and JSP as view? Hope should be fine.


Yes it would be perfect. Also try reading about JSF.
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Thanks for the inputs Pradip.
 
Don't get me started about those stupid light bulbs.
 
subject: Design Decision help needed