Re: Where is GenericDataSource?

2003-07-08 Thread Ted Husted
There shouldn't be any issues, so long as don't use any of the new 1.4 
features. All of these will throw an UnsupportedOperationException (see 
source).

The only advantage would be whatever compiler optimizations might apply 
between 1.3 and 1.4. Both versions support the same feature set.

Ka-Wai Chan wrote:
The release says that GenericDataSource is compiled under jdk1.3, but 
can be recompiled in jdk1.4... Is this necessary?  I am running jdk 1.4 
and the lib seems to work fine.  Any known issues?

Thanks
Ka-Wai


--
Ted Husted,
Struts in Action http://husted.com/struts/book.html


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Where is GenericDataSource?

2003-07-07 Thread Michael Muller
To answer my own question: in struts-legacy.jar

Michael Muller wrote:

I assume I need to copy another jar file to by WEB-INF/lib dir...  So 
where *is* the GenericDataSource packaged now?

Steve Raeburn wrote:

The short answer is that GenericDataSource was originally deprecated in
favour of Commons DBCP.
Unfortunately, problems with DBCP that could not be fixed in time for the
1.1 release meant that DBCP was removed and 1.1 reverted back to Generic
DataSource.
This is only a temporary measure so GenericDataSource was packaged
separately from the main struts jar.
Steve


-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: July 4, 2003 4:04 AM
To: Struts User
Subject: GenericDataSource


Can someone explain why GenericDataSource was moved to lagacy?

I have been using it successfully as a JINI DataSourse - have
others experienced
problems? - if so, what problems?
db

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Where is GenericDataSource?

2003-07-07 Thread Steve Raeburn
It's packaged in struts-legacy.jar which is in the lib directory of your the
struts distribution.

Steve

 -Original Message-
 From: Michael Muller [mailto:[EMAIL PROTECTED]
 Sent: July 7, 2003 8:59 AM
 To: Struts Users Mailing List
 Subject: Where is GenericDataSource?

 I assume I need to copy another jar file to by WEB-INF/lib dir...  So
 where *is* the GenericDataSource packaged now?




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where is GenericDataSource?

2003-07-07 Thread Ka-Wai Chan
The release says that GenericDataSource is compiled under jdk1.3, but 
can be recompiled in jdk1.4... Is this necessary?  I am running jdk 1.4 
and the lib seems to work fine.  Any known issues?

Thanks
Ka-Wai
Steve Raeburn wrote:
It's packaged in struts-legacy.jar which is in the lib directory of your the
struts distribution.
Steve


-Original Message-
From: Michael Muller [mailto:[EMAIL PROTECTED]
Sent: July 7, 2003 8:59 AM
To: Struts Users Mailing List
Subject: Where is GenericDataSource?
I assume I need to copy another jar file to by WEB-INF/lib dir...  So
where *is* the GenericDataSource packaged now?


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]