Hi,
(not discussing if your approach is the best)
You can create a Service layer (search for Domain Driven Development layers)
in top of your logic in the business app, in fact you should. And make it
accessible in the presentation tier via EJB invocation.
I think it will be better performant and fastest to develop than invoking
the business tier via XML.
So your calls will be like:
presentation_tier.jruby -> presentation_tier.java -(through ejb)->
business_tier.java -> business_tier.jruby ...

Let us know about your final approach.

Regards


2010/8/9 Pinit Asavanuchit <[email protected]>

> Thanks.
>
> I have to build Rails App to deploy on existing architecture.
>
> It's Jboss (java) which I have successfully test it with jruby.
>
> I have 1st server that all client can access in the same time it can see
> 2nd server which client don't
> 2nd server running jboss too which can connect to database server which
> 1st server can't
> the 3rd server is database.
>
> I cannot install or reconfig them but can deploy Java WAR to it which
> jruby+rails+warbler can do it.
>
> That is my situation. I will try Activeresource as  Chris Mear suggest.
> But I'm looking for something easier if any of you have experience with
> it.
>
> Alternatively I'm thinking about write a ROR app that act-like proxy to
> real ROR app on 2nd server, Is it possible ? Any suggestion ?
>
> Marnen Laibow-Koser wrote:
> > Pinit Asavanuchit wrote:
> >> Yes. I'm in situation to adapt this great MVC to multi-tier. Exactly
> >> what you said.
> >> which the first ROR of 1st server will act like web server talk to 2nd
> >> another ROR (application tier) server be-hide firewall.
> >>
> >
> > What's the point?  I don't see why you'd need 2 Rails apps here.
> >
> >> Just need suggestion if it has any easy method to implement Rails for
> >> this than 2 separate rails projects.
> >>
> >> Thank you
> >>
> >
> > Best,
> > --
> > Marnen Laibow-Koser
> > http://www.marnen.org
> > [email protected]
> >
> > Sent from my iPhone
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
------------------------------------
Oliver Hernàndez Valls

http://codit.wikidot.com
http://wiki.tramuntanal.cat

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to