This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes Connect to DB2 from VAJ Test environment ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Connect to DB2 from VAJ Test environment !" Watch "Connect to DB2 from VAJ Test environment !" New topic
Author

Connect to DB2 from VAJ Test environment !

Ravi Shinde
Greenhorn

Joined: Jun 22, 2001
Posts: 7
Can we configure VAJ Test Environment , so that a web app is able to access DB2 "Sample" database installed on another machine.If Yes How ?
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1849
refer to the pdf's folder which contains a pdf by the name of ejb
In this check out chapter 2 the section of Adding a JDBC driver to the classpath.
It is very clear. In case you have problems do get back.
------------------

Mahindrakar
IBM Application Server Forum Moderator
Consultant - Zensar Technologies.
SCJP2, SCJD2 & SCJEA (Part I)
Ravi Shinde
Greenhorn

Joined: Jun 22, 2001
Posts: 7
Rahul,
Where is the PDF folder ? I am not able to locate one ...
Thanks,
Ravi
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1849
I have sent it to your e-mail id. In my installation diskette i had the documentation. just check up your documentation.
Ravi Shinde
Greenhorn

Joined: Jun 22, 2001
Posts: 7
Thanks Rahul !
I got the PDF. It explains configuration if we use EJB .
In VAJ Help under differences between WTE & WAS it is mentioned that
----------------------------------------------
The WebSphere Test Environment offers the following:
...
No dependency on an external database unless entity bean support is required
------------------------------------------------------------
I wanted to access a table from JSP/Servlet without EJB .
In such cases how do we configure the Test Environment ?
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1849
hi,
I just sent over the Jsp documentation for VAJ. I am busy now so i cannot help you much. This document may contain what you want.
Ravi Shinde
Greenhorn

Joined: Jun 22, 2001
Posts: 7
From the JSP.PDF this is what I get ...
--------------------------------------
Configuring DB2 to work with data-enabled JSP applications
To work with any data-enabled JSP applications, you must have DB2 installed. You need the DB2 Universal Database Personal Edition only. This edition provides a local DB2 server.
Note: You can also work with data-enabled JSP applications using the DB2 Connect Personal Edition. If you choose to use the DB2 Connect Personal Edition only (without installing DB2 Universal Database Personal Edition), then you must be able to connect to a remote DB2 server.
-------------------------------------------------------------
Since I want to connect to a remote DB2 server , I guess I will need DB2 Connect Personal Edition .
I am looking around for it .
Any inputs on "Configuring DB2 to work with data-enabled JSP applications in VAJ 3.5" would be appreciated .
Thanks,
Ravi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connect to DB2 from VAJ Test environment !
 
Similar Threads
VisualAge certification
Does Visual Age 3.0 Enterprise editions support jsp
JSP Custom Tags using VisualAge/Web Sphere
Error while starting Persistence Name Server !
what is best ide jbuilder or visula age or someother