Looking for a way to use C# to talk to EJB through jndi. Right now, the only approach i can see is to use web services, but I will have to rewrite all the objects in c#. I found a third party toolkit to generate code from java classes into a .Net Proxy. However, I do not want to bind myself into a third party tools without any supports in the future. Who knows what will happen?

Any alternative ways for a C# application invoke method or create objects that written in java?