Abhijit Parwatkar

Greenhorn
+ Follow
since Dec 07, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Abhijit Parwatkar

Using JDBC 2.0 with Tomcat. Creating 'DataSource' using JNDI. Works Good.
Trying to make 'ConnectionPoolDataSource' work using JNDI with Tomcat 4, so I can get pooled database connection. No success.
Any clues?
[ January 23, 2002: Message edited by: Abhijit Parwatkar ]
22 years ago
To hold the objects of type class derived from abstract class. Just like you can create array of interface.
Aggregation is the parts-of relationship. A stronger variety of aggregation is Composition. With composition, the part object may belong to only one whole; furher, the parts are usually expected to live and die with the whole.
-Abhijit
23 years ago
Re-Installation of WAS is a problem. If u have installed HTTP server. You do not have to remove it. Just STOP it, so WAS can update conf file in order to HTTP+WAS combination to work. Also remove WAS database created in your database. (If u r using any DB otherwise with instantDB, no probs.) Never delete directories to remove, UNINSTALL.
Just my small contribution...
23 years ago
If u r using Websphere App server, also use Websphere Studio. All deployment problems are solved. Moreover it has wizards.
23 years ago
Are you using InstantDB or DB2? If DB2 can you check if 'was' database exists and JDBC is running fine. Is it a first run for WAS or it crashed after few runs?
Check the readme.html file in jswdk directory. It says this...
try it. should work. I have this fixed, but i fixed it months back, so do not remember whether i did the same.
----
Out of Environment Space error message
On Windows 95/98 systems, you may see an "Out of Environment Space" error message when starting the server. This happens if Windows provides too small a space for environment variables. To work around this limitation:
Close the DOS window (the error can corrupt its CLASSPATH variable).
Open a new DOS window.
Click on the MS-DOS icon at the top left of the window.
Select the Properties option.
Click on the Memory tab.
Adjust the "Initial Environment" drop-down box from "Auto" to "2816".
Click OK.
Start the server.
-Abhijit
23 years ago
Abstract class and interface both are logically abstract data types. One feature of Java is, it allows to extend only one class but one can implement multiple interfaces. Thus if u have used interface, u can use it in a scenerio where class A will need to inherit behaviour from interface I as well as from some other class B by extending the other class B.
This is what I think...
i = 0
i = i++
Step by step now..
1. i = i++
2. Two operations i = i , i = i + 1
3. Substitute value of i in each i = 0 , i = 0 + 1
4. evaluate each i = 0 , i = 1
5. Right to left so set i = 1 and then set i = 0
6. Thus i = 0

[This message has been edited by Abhijit Parwatkar (edited December 11, 2000).]
Here is what I think...
U are bound to get compiler error at the call
b.uniqueDisplay();
The error is
The method uniqueDisplay invoked for type Base is not defined.
Compiler is still seeing b of type Base even though d is assigned to it. Base has not defined method uniqueDisplay. So the error.
What happens at runtime though, is object d gets assigned to b. Hence call to b.display actually calls display d.
The behavious seems OK to me.
Correct me if I am wrong.