AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(Spring/Tapestry)-POJO's-hibernate-oracle-JBOSS

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Siva kumar VP via JavaKB.
Guest





PostPosted: Thu Feb 24, 2005 4:39 am    Post subject: (Spring/Tapestry)-POJO's-hibernate-oracle-JBOSS Reply with quote



hello help

I have worked out 1 project using MVC

jsp - servlet - POJO's - own data manager - oracle - web logic

now i have to start a new project with

(Spring/Tapestry)-POJO's-hibernate-oracle-JBOSS

i am facing many problems

what are the main differences between JBOSS & TOMCAT ?

I am not using EJB i am using POJO's then why do I go for JBOSS instead
of TOMCAT??

what is the advantage of O/R mapping provided by hibernate what are all
the different tools available automaticatically produce XML mapping files
and classes for the tables when i use hibernate ??

what is the best thing for front end java script validations in model
applications they are using POJO's for that whether to follow that or it is
good to use java script files for validations??

if we use hibernate it in turn uses JBOSS connection pool to connect to
database or ??

how to call stored procedures using hibernate??

*********

Main Question - except oracle everything mentioned above is fully
free , i mean open source right ???

*********

*********
when using Spring with Hibernate how to disable auto commit so that
i want to explicitly commit each transaction
**********

Totally confused

also if u know suggest me some books where can i get all the answers

--
Message posted via http://www.javakb.com
Back to top
Tilman Bohn
Guest





PostPosted: Thu Feb 24, 2005 6:38 am    Post subject: Re: (Spring/Tapestry)-POJO's-hibernate-oracle-JBOSS Reply with quote



In message <d716507d95a14a38a25b4570a9eb2bda (AT) JavaKB (DOT) com>,
Siva kumar VP via JavaKB.com wrote on Thu, 24 Feb 2005 04:39:59 GMT:

[...]
Quote:
what are the main differences between JBOSS & TOMCAT ?

Tomcat is a web container. JBoss is a full J2EE application server,
including an EJB container.

Quote:
I am not using EJB i am using POJO's then why do I go for JBOSS instead
of TOMCAT??

Possibly for its AOP support. Otherwise you probably wouldn't. You
mention Spring in the Subject so you could also use Spring's AOP
suppport instead.

Quote:
what is the advantage of O/R mapping provided by hibernate what are all
the different tools available automaticatically produce XML mapping files
and classes for the tables when i use hibernate ??

?? Parse error.

Quote:
what is the best thing for front end java script validations in model
applications they are using POJO's for that whether to follow that or it is
good to use java script files for validations??

You can use frontend validations to save you some round trips under
favorable circumstances. But always remember you can never depend on
them -- you _must_ validate on the backend in any case.

Quote:
if we use hibernate it in turn uses JBOSS connection pool to connect to
database or ??

That depends on how you use it. You can certainly use your application
server's data source, which will be pooled as you configure it, or you
can use Hibernate's own connection pools.

Quote:
how to call stored procedures using hibernate??

By overriding the SQL used. (I think you need Hibernate 3 for that.)

Quote:
Main Question - except oracle everything mentioned above is fully
free , i mean open source right ???

Yes.

Quote:
when using Spring with Hibernate how to disable auto commit so that
i want to explicitly commit each transaction

That very much depends. Both Spring and Hibernate have fully pluggable
transaction management. Additionally, since Hibernate can use your
application server's datasource, it depends on how you configure that
if you use it (JTA). For the interplay between Spring and Hibernate,
including this aspect, take a look at this article by Jürgen Hoeller:

http://hibernate.bluemars.net/110.html

Quote:
Totally confused

also if u know suggest me some books where can i get all the answers

A good place to start would be Rod Johnson's Wrox books, in particular
_J2EE Development without EJB_ (co-authored with Hoeller). Of course he
is a bit biased, but IMO does a pretty good job at explaining the
various tradeoffs without seeming to slam the other side. _Professional
Java Development with the Spring Framework_ isn't out yet, and I'm a bit
skeptical about it to be honest, because I have a bit of an aversion to
these half-a-dozen-or-more-author Frankenbooks from Wrox.

I also seem to remember that one chapter of one of Johnson's books was
available online at the Spring site.

--
Cheers, Tilman

`Boy, life takes a long time to live...' -- Steven Wright

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.