Re: Calling a Windows DLL
From: Lew Pitcher (Lew.Pitcher_at_td.com)
Date: 05/31/04
- Next message: Aurelian Melinte: "Re: Help. Program coredumps with SIGILL after exit (0) is called"
- Previous message: Darko M.: "Re: Best way to implement a resettable timer."
- In reply to: Alan: "Calling a Windows DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 08:51:22 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan wrote:
> We have a windows application written in VB w/SQL Server (SQL2K) in
> the backend. Another application would like to have access to some of
> our data (read/only). Normally we would provide the data via our
> external interface DLL, but this is a Java application is running on
> Unix. We really don't want the java app hitting the database directly
> (even R/O) because when things change their app would then be broke
> and we get yelled at.....
>
> In the Windows world we simply make sure our external interface DLL
> doesn't change input or output interfaces and we make all necessary
> chages to the DLL behind the scene. Any suggestions on how best to
> approach this? We would like to maintian the interface layer since our
> developers are most familar with the application and database.
OK, write a Java class that encapsulates and isolates your database I/O, just
like you would have written a Windows DLL to do. Give that Java class to your
Unix developers to use instead of their direct access (presumably through JDBC),
and /you/ maintain the Java class when ever you change your database.
- --
Lew Pitcher
IT Consultant, Enterprise Application Architecture,
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed are my own, not my employers')
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFAuypHagVFX4UWr64RAuZaAKDpLbb0fZf1RjGIM5mR4dKP2480XQCg0IcB
f4Ly7vhz1WZ/i0gciHAPhFM=
=9mj4
-----END PGP SIGNATURE-----
- Next message: Aurelian Melinte: "Re: Help. Program coredumps with SIGILL after exit (0) is called"
- Previous message: Darko M.: "Re: Best way to implement a resettable timer."
- In reply to: Alan: "Calling a Windows DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|