Hi, we're currently looking into the possibility of integrating our
Java JPA backend with our mod_perl front end/business layer using
Inline::Java.  I've been pretty successful testing various features
that are required and have been pretty happy so far, though I have a
few questions that I'm not really clear about, so I was hoping someone
can help me out here...


1.  My understanding is that Inline::Java doesn't really serialize the
whole object graph and there are no features to allow it to say
serialize the graph before transmitting the Inline::Java object over
the wire, right?  I understand that it's more of a proxy and each
method call and property access call is proxied over to the JVM.  Is
this correct?

2.  With #1 in mind, I'm a bit concerned about the stability and
scalability of the Inline::Java server.  Being that it's written from
scratch and no existing server was reused, is there a reason I should
be concerned about the scalability of this in a highly concurrent
environment?  Is the server piece thread safe?  I will be going over
the source code in the next few weeks, but wanted to get some input.

3.  With JNI being the more efficient deployment option, the concern
is how it functions in the mod_perl environment.  With mod_perl 1 and
mpm each process would embed the JVM and it's heap within each apache
child process?  This is of course not an option, since then we have to
worry about memory constraints as well as possible XA, though I can't
think of any current requirement of transactions spread across
multiple processes.  Is there a way to only embed the JVM within the
parent process and possibly use IPC for communication?  I'm not that
familiar with JNI and it's requirements, so I'm just ranting here.

4.  We're using JSE 1.5.  Is there any reason to believe that we'd run
into any problems?  I saw in README that it should work for the most
part and it seems to work with JPA, annotations and generics, but I'd
like to get someone with some experience using it with JSE 1.5 to
comment a bit more.

I guess if someone can just give some recommendations as to what would
be the more stable/scalable deployment scenario for
Inline::Java/mod_perl application.

Thanks and sorry for the lengthy message.

Ilya Sterin

Reply via email to