Thread: JAR-file including classes for J2EE

JAR-file including classes for J2EE

From
Thomas Møller Andersen
Date:
Does anyone have a new updated JAR-file including J2EE-support(DataSource,
XA...).
The precompiled jars which can be downloaded from the website are without
these classes????
I read that you have to download complete source from CVS and then build the
files - WHY?
If you installed PostgreSQL before setting up your J2EE environment the
JAR-file was build without the classes for J2EE.

Best regards,
Thomas M. Andersen


Re: JAR-file including classes for J2EE

From
Ned Wolpert
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas-

  I believe that the reason for this is because the XA support is incomplete.
The most benefit one gets from the current J2EE classes from postgresql is
Datasource/JNDI support, but its not a complete jdbc2-compliant set.  Because
of this, it may be confusing to the avg user, so they are not provided on
the website.

  If you are planning to use the driver in a J2EE app, you likely need the
DataSource/JNDI classes and Pooling.  If you need pooling behavior, you'll
need to have a seperate package that can provide it since the driver does not
currently have that available.  I recomend using PoolMan (www.codestudio.com)
which can wrap the postgresql driver nicely.


On 03-Dec-2001 Thomas M�ller Andersen wrote:
> Does anyone have a new updated JAR-file including J2EE-support(DataSource,
> XA...).
> The precompiled jars which can be downloaded from the website are without
> these classes????
> I read that you have to download complete source from CVS and then build
> the
> files - WHY?
> If you installed PostgreSQL before setting up your J2EE environment the
> JAR-file was build without the classes for J2EE.
>
> Best regards,
> Thomas M. Andersen


Virtually,
Ned Wolpert <ned.wolpert@knowledgenet.com>

D08C2F45:  28E7 56CB 58AC C622 5A51  3C42 8B2B 2739 D08C 2F45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE8C6R6iysnOdCML0URAreQAJY/MIYJpy/MGTfiC/rRV2A+nRGnAJ4ljWI+
AmIqDsvdrJGl9ULl5qvppg==
=N2ME
-----END PGP SIGNATURE-----

Re: JAR-file including classes for J2EE

From
Barry Lind
Date:
Thomas,

The reason I no longer build the J2EE jars and place them on the website
is because the J2EE support is very limited and doesn't work very well,
IMHO.  I don't want to give people the false impression that we really
support the J2EE extensions to JDBC2, because in general we don't.

However if someone wants to contribute to the project, this would be a
good way to get started, hint, hint :-)

thanks,
--Barry




Thomas Møller Andersen wrote:

> Does anyone have a new updated JAR-file including J2EE-support(DataSource,
> XA...).
> The precompiled jars which can be downloaded from the website are without
> these classes????
> I read that you have to download complete source from CVS and then build the
> files - WHY?
> If you installed PostgreSQL before setting up your J2EE environment the
> JAR-file was build without the classes for J2EE.
>
> Best regards,
> Thomas M. Andersen
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>