Progress 10.0x->
In order to execute 4GL progress code from java
there are a lot of posibilites:
1) Using
JDBC and SQL
2) Start an
Appserver and use the JavaDirect connection
to Appserver to execute a 4GL Procedure
3) Start a Appserver (state-free) and expose the 4GL procedures
as
WebServices, use JavaAxis package to call the procedure.
4) Start an Appserver and generate
ProxyGen the sckeleton to be used in Java.
5) You can use SonicMQ (progress product) and
JMS Messaging.
A 4GL batch procedure connect direct to SonicMQ broker and
wait for a JMS Message into a Queue or Topic.
The java application send a JMS message to Sonic and
start the 4GL proceure call.
6) start a
webspeed broker and from java you can invoke a URL like:
http://localhost/cgi-bin/wspd_cgi.sh/myproc.p?param1=A¶m2=B
by passing parameterts.
7) You can start a
SERVER SOCKET in 4GL and call the URL from
java application
(see: OpenEdge-samples/sockets/WebServer)
(1-6) in all these case, you need another
progress procuct (AppServer/SonicMQ/WebSpeed)
If you want I can give you details from any of these solutions, sample,
config issues, etc.