mic_ 0 Newbie Poster

Hello!

I am newbie in creating enteprise applications. I need some help.

I managed to configure hibernate correctly. It is connecting directly to MySQL server - everything works well.

I want to develop application for small company. I wanted to leave it like that, but I have read that application should connect to application server such as GlassFish, not directly to databse. Is that true? Or can I connect directly to database?