aspose file tools*
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
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: 1859
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: 1859
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: 1859
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
 
Don't get me started about those stupid light bulbs.
 
subject: Connect to DB2 from VAJ Test environment !