473,396 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

EJB vs JDBC

58
Hai,

My proj has JSP @ the front end and MySql @ the back end. Server that i m gonna use is Apache Tomcat.My question is should i use JDBC or EJB to transmit the data from the front end to the back end?

I m jus a beginner in JDBC.....Among the two which is more user and programmer friendly? Which has more advantages?

Pls help.........
Sep 24 '07 #1
5 2760
r035198x
13,262 8TB
Hai,

My proj has JSP @ the front end and MySql @ the back end. Server that i m gonna use is Apache Tomcat.My question is should i use JDBC or EJB to transmit the data from the front end to the back end?

I m jus a beginner in JDBC.....Among the two which is more user and programmer friendly? Which has more advantages?

Pls help.........
and what did you get when you googled for this topic?
Sep 24 '07 #2
jith87
58
and what did you get when you googled for this topic?
Whn using high powered transactions its better to use JDBC n for the rest its gonna be JDBC....
Sep 24 '07 #3
jith87
58
Whn using high powered transactions its better to use JDBC n for the rest its gonna be JDBC....
Sorry......
Whn using high powered transactions its better to use JDBC n for the rest its gonna be EJB......Bt there ve also been contradictions to ths concept....
Sep 24 '07 #4
chella
51
Hi,

Hope the info given here will help you.

Regards,
Chella
Sep 24 '07 #5
Hai,

My proj has JSP @ the front end and MySql @ the back end. Server that i m gonna use is Apache Tomcat.My question is should i use JDBC or EJB to transmit the data from the front end to the back end?

I m jus a beginner in JDBC.....Among the two which is more user and programmer friendly? Which has more advantages?

Pls help.........
Since you are using Tomcat , which is a webserver, u need to use only JDBC. You cannot use EJB's. EJB's work only wen you have application server(like Weblogic server, or Websphere).

Cheers
svulchik
Sep 24 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: JShurmatz | last post by:
If anyone can shed some light on this problem I would greatly appreciate it. I am unsuccessfully trying to use a database connnection retrieved from a pool configured using Java System Web...
0
by: Nils Valentin | last post by:
Hi MySQL Fans ;-), Is it possible that the 3.08 series allows to connect to 4.0.14 versions but not to the 4.1 alpha-versions ? I get belows error when tryig to connect from DbVisualizer which...
0
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version...
0
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2...
0
by: Raquel | last post by:
UDB PE 8.1 on Win XP. Per the manual: DB2 JDBC traces always begin with a header that lists important system information such as key environment variable settings, the JDK or JRE level, the...
1
by: Praveen | last post by:
Hi, I have installed WebSphere Portal on AIX and connected to DB2 on a remote machine, Getting the followin errors when trying to get the values from database thru applications installed on...
1
by: rpm45tech | last post by:
Hi everyone. I'm deveolping in Java with DB2 running on Win XP and everything was working ok but then I installed Vista Ultimate and the application stopped working. This is the exception showed: ...
2
by: bevis | last post by:
I'm new to sql server and mysql but this seems like it should be a pretty straight forward jdbc connection. But I have spent almost 2 days just trying to get a jdbc connection. Please help if you...
3
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true,...
0
by: Jim Kennedy | last post by:
ALL DDL does a commit. Hence Drop Table movies; issues a commit. True you don't issue a commit and the driver does not issue a commit, but the server does for all DDL. That is probably where...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.