| Tilman Bohn 2005-02-24, 3:59 am |
| In message <d716507d95a14a38a25b4570a9eb2bda@JavaKB.com>,
Siva kumar VP via JavaKB.com wrote on Thu, 24 Feb 2005 04:39:59 GMT:
[...]
> what are the main differences between JBOSS & TOMCAT ?
Tomcat is a web container. JBoss is a full J2EE application server,
including an EJB container.
> 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.
> 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.
> 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.
> 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.
> how to call stored procedures using hibernate??
By overriding the SQL used. (I think you need Hibernate 3 for that.)
> Main Question - except oracle everything mentioned above is fully
> free , i mean open source right ???
Yes.
> 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
> Totally 
>
> 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
|