Hello Ranchers,
I've recently start to learn and integrate Spring and Hibernate to my
Java web app (Struts2 as a presentation). I've googled a lot about tutorial and examples and so on. Well, everything seems ok and running based on the materials I've collected. but as long as I've deployed it on a hosting web server and got a Lot of Runtime java.lang.OutOfMemoryError exception, I wanted to clear things up to myself that everything I'm doing is correct as point of view of an expert, then assuming there are some issues about my Webserver Hosting or something else.
So here the Code:
web.xml
struts.xml
applicationContext-hibernate.xml
spring-hibernate-actions.xml
spring-hibernate-services.xml
spring-hibernate-daos.xml
FirstAction.java
FirstServiceImpl.java
FirstDAOImpl.java
I'd really appreciate if anyone could help me whether I was on a right path or something seems wrong or Exception-Throwing-Material on the above application development.
Regards,
Khosrow.