Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect to DB2 from VAJ Test environment !

 
Ravi Shinde
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rahul,
Where is the PDF folder ? I am not able to locate one ...
Thanks,
Ravi
 
Rahul Mahindrakar
Ranch Hand
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic