jta/jts

Hi

please clarify the following

the jta/jts service is specific to ejb container or is that for application server can we access that through jsp page with jta from jsop page if in case we have to use multiple databases from jsp and not use ejb

is jta/jts also implemented by web container

regards

Javid

[347 byte] By [mohdj] at [2007-9-27 14:13:36]
# 1
Hi,My approach would be to create some EJB's to access the database and host these in an J2EE server, then access these from your web applications.EJB access to a database is much easier that putting the SQL statements in the WebPages and scales much better. Nick
pricenv at 2007-7-5 22:03:17 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 2
Never Make this statment that EJB scales better than Servlet or JSP. It would be 100 times faster using only servlet and JSP with JDBC access to Database compares to EJB.
ks_sanjay73 at 2007-7-5 22:03:17 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...
# 3
Sanjay > I agree.
bhatia_js at 2007-7-5 22:03:17 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...