Because of the constant problems with the set of technologies described in the previous post, today I finally decided to try the new one:
Netbeans 6.9.1 + Glassfish + Java DB (SQL Express in perspective) + Hibernate
After a long time setting them all up and understanding their differences from what I tried before, I managed to achieve some results. I reached proper division of layers: Hibernate maps DB structure into objects (persistency), JSP accesses Hibernate (business logic), Java servlet accesses JSP and represents the data (presentation).
To Do:
Netbeans 6.9.1 + Glassfish + Java DB (SQL Express in perspective) + Hibernate
After a long time setting them all up and understanding their differences from what I tried before, I managed to achieve some results. I reached proper division of layers: Hibernate maps DB structure into objects (persistency), JSP accesses Hibernate (business logic), Java servlet accesses JSP and represents the data (presentation).
To Do:
- Further attempts to substitute JavaDB with SQL Express, since Derby is very hard to debug
- Implement business logic on EJB
- Solve a problem with default package (objects from other packages don't interact with DB properly)
No comments:
Post a Comment