aspose file tools*
The moose likes Distributed Java and the fly likes Connect C# clients to Java EE application server which publishes methods with interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Connect C# clients to Java EE application server which publishes methods with interfaces" Watch "Connect C# clients to Java EE application server which publishes methods with interfaces" New topic
Author

Connect C# clients to Java EE application server which publishes methods with interfaces

John Bengler
Ranch Hand

Joined: Feb 12, 2009
Posts: 133
Hi all,

we currently have a JEE application running in a JBoss application server which publishes methods via IIOP/Corba to C# clients.
We also provide methods by SOAP webservices for other clients.

Most of these methods provided via IIOP use Interfaces, which then are implemented by various concrete implementations, e.g. there is a method public List<? extends IView> provideData(String name, List<? extends IQueryCriterion>) (well actually there are some more parameters, but that should be sufficient to explain what I mean), which provides data to display in grids, holding the data itself and some additional information. There are about 200 object types implementing that IView interface.

Via the SOAP webservice we also publish that kind of methods, but with a maximum of 4 to 5 implementations and since it is not possible (at leas as far as I know) to publish a method which has an interface as a parameter or return type we published one method for each concrete implementation as a webservice method, which is ok to us if there are 4 implementations, but not for 200.

Now we encounter the problem that when we want to migrate to JBoss 7, Java EE7 our IIOP does no longer work.

Can anyone of you recommend a technology that can do the job, is stable, and is worth to evaluate?



Thanks in advance!

John
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 493
    
    1

Hi,

Via the SOAP webservice we also publish that kind of methods, but with a maximum of 4 to 5 implementations and since it is not possible (at leas as far as I know) to publish a method which has an interface as a parameter or return type we published one method for each concrete implementation as a webservice method, which is ok to us if there are 4 implementations, but not for 200


don't sure if that's right... you may define a SOAP web service which takes a custom "Request" object, in which client (no matter which language is written with) must specify the remote endpoint to call (object + method, I mean), input param types and their XML serialization. On server side, the actual web service will act as a "router" and it would be responsible to invoke required methods and return data to the caller.


 
 
subject: Connect C# clients to Java EE application server which publishes methods with interfaces