🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.jbuilder.java.api
7 messages
7 total messages Started by Jaelani C. U. Sun, 03 Apr 2005 21:51
Calling Java API via Delphi
#77
Author: Jaelani C. U.
Date: Sun, 03 Apr 2005 21:51
7 lines
935 bytes
Hello,

I was wondering how to use functions from either Microsoft or Sun Java  
libraries.
Is it even possible?

Thank you in advance.
Re: Calling Java API via Delphi
#81
Author: Paul Nichols (TeamB)
Date: Mon, 04 Apr 2005 19:42
18 lines
1389 bytes
"Jaelani C. U." <jaelanicu@gmx.net> wrote in message
news:opsooezoqmbobfgx@bitminds...
> Hello,
>
> I was wondering how to use functions from either Microsoft or Sun Java
> libraries.
> Is it even possible?
>
> Thank you in advance.

These are the only ways that I know of:

(1) EJB calls (must be using Boland's Application Sever)
(2) Corba Bridge (must be using Visibroker) for Delphi.
(3) Web Services
(4) Passing data to/from Delphi to Java Server side sockets through HTTP.
(5) Third party product like ASTA.
Re: Calling Java API via Delphi
#83
Author: Jaelani C. U.
Date: Mon, 04 Apr 2005 20:21
23 lines
1615 bytes
> On 4 Apr 2005 12:46:54 -0800, John McGrath  [TeamB] <ng-b@JPMcGrath.net>  
> wrote:
> You can call functions in native libraries using the JNI - the Java  
> Native
> Interface.  Documentation on JNI is included in the Sun JDK distribution.
>
> You can call any Java method, including those in the Sun libraries, using
> the same mechanisms that you would use to all any Java method.  Ensure
> that the library is on the classpath and call it.  Of course, using
> methods that are not part of standard Java can introduce portability
> concerns.
>

Many thanks for that.
I'm gonna find out more about the JNI.
I'll try not to think about portabily issuse, yet.
Thanks for the warning.
Re: Calling Java API via Delphi
#84
Author: Jaelani C. U.
Date: Mon, 04 Apr 2005 20:29
18 lines
1543 bytes
> On Mon, 4 Apr 2005 14:42:40 -0500, Paul Nichols (TeamB)  
> <paul@computer-logic.net> wrote:
> These are the only ways that I know of:
>
> (1) EJB calls (must be using Boland's Application Sever)
> (2) Corba Bridge (must be using Visibroker) for Delphi.
> (3) Web Services
> (4) Passing data to/from Delphi to Java Server side sockets through HTTP.
> (5) Third party product like ASTA.
>

I know there are many ways to do it, but I'm trying to exclude any  
internet technology (eg. server, web, socket).
The ASTA you just mentioned. Where can I find out more about it?
Thank you.
Re: Calling Java API via Delphi
#82
Author: John McGrath [TeamB]
Date: Mon, 04 Apr 2005 20:46
22 lines
1781 bytes
On 4/3/2005 at 5:51:14 PM, Jaelani C. U. wrote:

> I was wondering how to use functions from either Microsoft or Sun Java
> libraries.  Is it even possible?

You can call functions in native libraries using the JNI - the Java Native
Interface.  Documentation on JNI is included in the Sun JDK distribution.

You can call any Java method, including those in the Sun libraries, using
the same mechanisms that you would use to all any Java method.  Ensure
that the library is on the classpath and call it.  Of course, using
methods that are not part of standard Java can introduce portability
concerns.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Re: Calling Java API via Delphi
#85
Author: David Orriss, Jr. [TeamB]
Date: Tue, 05 Apr 2005 06:07
30 lines
1936 bytes
On Mon, 04 Apr 2005 04:51:14 +0700, Jaelani C. U. wrote:

> Hello,
> 
> I was wondering how to use functions from either Microsoft or Sun Java  
> libraries.
> Is it even possible?
> 
> Thank you in advance.

Google is your friend... :)

http://www.revusky.com/hacks/jniwrapper.html

At least it's a good start.
-- 
David Orriss Jr. TeamB
http://www.davenet.net/
* Please limit all responses to the newsgroups. Thanks! *
Got a JBuilder website? Join the JBuilder Netring!  Check out
http://www.davenet.net/jbwebring/jbwebring.htm for more information!

My blog: http://mywebpages.comcast.net/daorriss/

Save yourself some time and check these sites:

Borland Newsgroup Search:
 http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's Faq-O-Matic: 
 http://www.visi.com/~gyles19/fom-serve/cache/1.html
Re: Calling Java API via Delphi
#89
Author: Paul Nichols (TeamB)
Date: Thu, 07 Apr 2005 02:29
27 lines
1880 bytes
"Jaelani C. U." <jaelanicu@gmx.net> wrote in message
news:opsop5uuzhbobfgx@bitminds...
> On Mon, 4 Apr 2005 14:42:40 -0500, Paul Nichols (TeamB)
> <paul@computer-logic.net> wrote:
> These are the only ways that I know of:
>
> (1) EJB calls (must be using Boland's Application Sever)
> (2) Corba Bridge (must be using Visibroker) for Delphi.
> (3) Web Services
> (4) Passing data to/from Delphi to Java Server side sockets through HTTP.
> (5) Third party product like ASTA.
>

I know there are many ways to do it, but I'm trying to exclude any
internet technology (eg. server, web, socket).
The ASTA you just mentioned. Where can I find out more about it?
Thank you.

try:

www.astatech.com


For Delphi to Java JNI look on code central. There used to be a JNI for
Delphi on that site, that would allow Java to Delphi communication without
the Network protocols.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads