Board index » delphi » Connecting Delphi and J2EE

Connecting Delphi and J2EE


2005-01-04 11:48:21 PM
delphi197
Hi, to all;
For the last few years, I have been made several client/server
applications and I am fell comfortable with them;
So now, I was wondering to give an step forward 3 tiers
applications, of course there are good solutions DCom servers, but, as I
have some applications in jsp and j2ee containers as middle tiers, I was
wondering about to connect Delphi with them;
I don't know more than some white papers that I read, but at
last we have CORBA and WEB SERVICES as the most common solutions.
My J2EE frame work, is Oracle ADF / BC4J and I can easily
public data objects and methods exposing my application module BI as web
services.
As I never saw any application wich uses Web Services, my
question is:
Does Web Services could be used as middle tier to public all
data related operations to an Delphi application consume then ? How this
has been used ?
--
Marcos Ortega
Analista de Sistemas
www.santoandrea.com.br
Campo Grande - MS
 
 

Re:Connecting Delphi and J2EE

Hi,
One solution (I think) is Borlands Janeva.
Another is kbmMW which allows you to have Delphi clients access business code written in Java (J2SE and J2EE).
--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com
The best components for the best developers
kbmMW - RAD Enterprise class n-tier application server framework
kbmMemTable - High performance memory table
kbmWABD - RAD web development
kbmX10 - RAD house automation
"Marcos Ortega" <XXXX@XXXXX.COM>skrev i en meddelelse news:XXXX@XXXXX.COM...
Quote

Hi, to all;

For the last few years, I have been made several client/server
applications and I am fell comfortable with them;

So now, I was wondering to give an step forward 3 tiers
applications, of course there are good solutions DCom servers, but, as I
have some applications in jsp and j2ee containers as middle tiers, I was
wondering about to connect Delphi with them;

I don't know more than some white papers that I read, but at
last we have CORBA and WEB SERVICES as the most common solutions.

My J2EE frame work, is Oracle ADF / BC4J and I can easily
public data objects and methods exposing my application module BI as web
services.

As I never saw any application wich uses Web Services, my
question is:

Does Web Services could be used as middle tier to public all
data related operations to an Delphi application consume then ? How this
has been used ?

--
Marcos Ortega
Analista de Sistemas
www.santoandrea.com.br
Campo Grande - MS


 

Re:Connecting Delphi and J2EE

Thanks, Kim
But , I am looking for Web Services , and if their are good
pratice to serve as middle tier to enterprise applications with delphi
desktop forms as front - end;
--
Marcos Ortega
Analista de Sistemas
www.santoandrea.com.br
Campo Grande - MS
"C4D - Kim Madsen" <XXXX@XXXXX.COM
(kbmMW/kbmMemTable/kbmWABD/kbmX10)>escreveu na mensagem
Quote
Hi,

One solution (I think) is Borlands Janeva.
Another is kbmMW which allows you to have Delphi clients access business
code written in Java (J2SE and J2EE).


--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com

The best components for the best developers
kbmMW - RAD Enterprise class n-tier application server framework
kbmMemTable - High performance memory table
kbmWABD - RAD web development
kbmX10 - RAD house automation

"Marcos Ortega" <XXXX@XXXXX.COM>skrev i en meddelelse
>
>Hi, to all;
>
>For the last few years, I have been made several
client/server
>applications and I am fell comfortable with them;
>
>So now, I was wondering to give an step forward 3 tiers
>applications, of course there are good solutions DCom servers, but, as I
>have some applications in jsp and j2ee containers as middle tiers, I was
>wondering about to connect Delphi with them;
>
>I don't know more than some white papers that I read,
but at
>last we have CORBA and WEB SERVICES as the most common solutions.
>
>My J2EE frame work, is Oracle ADF / BC4J and I can
easily
>public data objects and methods exposing my application module BI as
web
>services.
>
>As I never saw any application wich uses Web
Services, my
>question is:
>
>Does Web Services could be used as middle tier to public
all
>data related operations to an Delphi application consume then ? How this
>has been used ?
>
>--
>Marcos Ortega
>Analista de Sistemas
>www.santoandrea.com.br
>Campo Grande - MS
>
>


 

Re:Connecting Delphi and J2EE

Hi,
It very much depends on who you are talking with. WS fanatics thinks its great and everything should use webservices.
I personally think that webservices should _only_ be used when you dont have control over the two ends in the
communication.
For all other purposes, you should use the fastest, sleekest and most secure (choise of order depends on situation)
method.
--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com
The best components for the best developers
kbmMW - RAD Enterprise class n-tier application server framework
kbmMemTable - High performance memory table
kbmWABD - RAD web development
kbmX10 - RAD house automation
 

Re:Connecting Delphi and J2EE

Quote
It very much depends on who you are talking with. WS fanatics thinks its
great and everything
should use web services.
I Understand perfectly;
The hole true is that, I never even heard about Delphi connecting J2EE
until few weeks ago,
and giving my firsts look at web services I realize that could be possible.
So I start to wondering
how this could be an perfect word ( for me ;o ) . Using Oracle BC4J and
Delphi as front end;
Very Thanks Kim for your time;
--
Marcos Ortega
Analista de Sistemas
www.santoandrea.com.br
Campo Grande - MS
"C4D - Kim Madsen" <XXXX@XXXXX.COM
(kbmMW/kbmMemTable/kbmWABD/kbmX10)>escreveu na mensagem
Quote
Hi,

It very much depends on who you are talking with. WS fanatics thinks its
great and everything should use webservices.
I personally think that webservices should _only_ be used when you dont
have control over the two ends in the
communication.
For all other purposes, you should use the fastest, sleekest and most
secure (choise of order depends on situation)
method.


--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com

The best components for the best developers
kbmMW - RAD Enterprise class n-tier application server framework
kbmMemTable - High performance memory table
kbmWABD - RAD web development
kbmX10 - RAD house automation


 

Re:Connecting Delphi and J2EE

Kim writes:
Quote
Another is kbmMW which allows you to have Delphi clients access business
code written in Java (J2SE and J2EE).
Hi, Kim. it is been awhile since I used your kbmWABD and kbmMemTable. I had
been on another track in development with one customer for a couple of
years, so I haven't been around the multi-tier community in awhile, and I'm
afraid I have just gotten rusty (lazy? :) ).
Now, I am with another customer who needs a web application with Oracle on
the back end. His other contractors have developed an Enterprise Service
Bus that allow for hooks from either Dot NET or J2EE. Another one of OUR
contractors has developed a "type" of front end GUI in ASP, using
Dreamweaver, but I need to be able to get good data connections, so
naturally I trust Delphi. How would you go about addressing this type of
layout, and what could kbmMW do for me here?
Regards,
Fritz Vaughn
 

Re:Connecting Delphi and J2EE

Hi,
Quote
Hi, Kim. it is been awhile since I used your kbmWABD and kbmMemTable. I had
been on another track in development with one customer for a couple of
years, so I haven't been around the multi-tier community in awhile, and I'm
afraid I have just gotten rusty (lazy? :) ).
Nice to hear you are still around and kicking :)
Quote
Now, I am with another customer who needs a web application with Oracle on
the back end. His other contractors have developed an Enterprise Service
Bus that allow for hooks from either Dot NET or J2EE. Another one of OUR
contractors has developed a "type" of front end GUI in ASP, using
Dreamweaver, but I need to be able to get good data connections, so
naturally I trust Delphi. How would you go about addressing this type of
layout, and what could kbmMW do for me here?
Well.. how to go about it really depends on needs and functionality in the existing frameworks.
Today I'd probably be inclined to suggest using ASP.Net for the front end (using D2005). Its alot easier to get
accepted by most companies than 3rdparty solutions, and its much more flexible (and easier flexible) in terms of
extendability compared to old ASP.
The Enterprise Service Bus may or may not be tuned for real database connectivity, but more for inter process
communication.
kbmMW could for example provide an interface between the existing bus and Delphi web and other thin clients.
It could handle all database connectivity easily and fast, and at the same time provide an interface for other users of
the ESB to hook into thus letting them get to the functionality that you have put into kbmMW's application servers.
One thing that is often overlooked, or only being coded in very late in typical dotNet/J2EE app server projects these
days, is resilience and performance.
You could use kbmMW to build a small cluster of app servers that would solve existing (if any) lack of resilience.
Performance critical things could also be handled by kbmMW.
Futher the ESB might not be tuned very well to any type of publish/subscribe setups. In such cases kbmMW could also
provide extra functionality for you.
I need to know more specifics about what the ESB does today, what requirements there are and what future development are
planned or could be planned to be more specific in the areas where kbmMW would assist you.
--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com
The best components for the best developers
kbmMW - RAD Enterprise class n-tier application server framework
kbmMemTable - High performance memory table
kbmWABD - RAD web development
kbmX10 - RAD house automation
 

Re:Connecting Delphi and J2EE

Kim writes:
Quote
Nice to hear you are still around and kicking :)
Appreciate the sentiment...
Quote
kbmMW could for example provide an interface between the existing bus and
Delphi web and other thin clients.
It could handle all database connectivity easily and fast, and at the same
time provide an interface for other users of
the ESB to hook into thus letting them get to the functionality that you
have put into kbmMW's application servers.

I need to know more specifics about what the ESB does today, what
requirements there are and what future
development are planned or could be planned to be more specific in the
areas where kbmMW would assist you.
The ESB is a Government project, and they are loathe to reveal many details
about the "hooks" and functionality until user apps trying to link in have
cleared several technical and bureaucratic hurdles.
Quote
One thing that is often overlooked, or only being coded in very late in
typical dotNet/J2EE app server projects these
days, is resilience and performance. You could use kbmMW to build a small
cluster of app servers that would solve
existing (if any) lack of resilience. Performance critical things could
also be handled by kbmMW. Futher the ESB
might not be tuned very well to any type of publish/subscribe setups. In
such cases kbmMW could also
provide extra functionality for you.
I've never had to develop an app that dealt with the resiliance issue.
Sorry that my expertise is so limited here. Could you explain what you are
describing here when you use the term "resiliance" and how clustering app
servers with kbmMW would handle this? Are you talking about threading here
or is that another issue? (Also, if we need to discuss this in another
message thread, or a C4D newsgroup somewhere, let me know).
Regards,
Fritz Vaughn
 

Re:Connecting Delphi and J2EE

Hi,
Quote
I've never had to develop an app that dealt with the resiliance issue.
Sorry that my expertise is so limited here. Could you explain what you are
describing here when you use the term "resiliance" and how clustering app
servers with kbmMW would handle this? Are you talking about threading here
or is that another issue?
If a setup have a high level of resilience, it generally means that if parts of the setup is crashing
(Ie. servers going offline or some network segments going dead) it wont make the setup
stop working as a whole. In other words the clients may experience slower response, but
will not experience a loss of service.
Although Java application servers often have facilities for enhancing resilience by setting up clusters etc,
its often relatively complicated to actually get running stably and with good performance.
kbmMW supports a very high degree of resilience (We've got customers where 99.997% uptime is not sufficient,
but 100% uptime is required).
--
best regards
Kim Madsen
XXXX@XXXXX.COM
www.components4developers.com
The best components for the best developers
kbmMW - kbmMemTable - kbmWABD - kbmX10