« Return to Thread: Examples Rails app using Maven, Java libs and Spring

Re: Examples Rails app using Maven, Java libs and Spring

by Leonardo Borges :: Rate this Message:

Reply to Author | View in Thread

Hi James,

I wrote a post last week about how we solved a few of these issues here. It might be useful somehow. Here's the link: JRuby on Rails and legacy java apps: Managing dependencies

Regards,
Leonardo Borges
www.leonardoborges.com



On Mon, Jul 6, 2009 at 12:13 AM, James Abley<james.abley@...> wrote:
> 2009/7/4 Leonardo Borges <leonardoborges.rj@...>:
>> I could also help on that since our project works with spring,
>> hibernate and maven on top of a jruby front end
>>
>> On Friday, July 3, 2009, Nick Sieger <nicksieger@...> wrote:
>>> On Fri, Jul 3, 2009 at 9:24 AM, James Abley<james.abley@...> wrote:
>>>> Examples of this are a little thin on the ground, so I was thinking of
>>>> sketching one out on github and trying to define a good approach for
>>>> doing this sort of work. Would there be any interest in that; i.e.
>>>> should I bother putting it on github?
>>>
>>> I'd like to see this happen, and would be willing to help out and
>>> offer opinions.
>>>
>>>>
>>>> Also, does anyone have any references that they really think I should
>>>> look at first?
>>>
>>> What parts of the spring stack are you planning to use?
>>>
>>> /Nick
>>>
>
> Sorry, man flu took me out this weekend, so I didn't get as far as I'd hoped.
>
> http://github.com/jabley/jruby-rails-ee/tree/master
>
> Currently builds a war (providing you have warbler installed) with a
> very basic UI. For the next step, I'll add in Spring to provide the
> Java implementation and then kick off discussions around that. The
> initial usage of Spring will be a very simple retrieval of a singleton
> bean that provides a service.
>
> Initial areas for discussion include:
>
> * My immovable objective is to have a process which creates a war
> suitable for deployment to a container. Currently, we use Hudson for
> this, and everything else builds in maven. So that's where I'm
> starting from.
> * How best to set up the Rails environment to use the console and run
> tests so that Java libs are available?
> * On a related note, running Rails tests during development - should
> it integrate with Surefire (the maven test running plugin)?
>
> I'm planning to do a branch that uses jruby-rake-plugin and another
> one that uses an approach based on that outlined here [1]. Please
> suggest / contribute other options or areas where it can be improved.
>
> Cheers,
>
> James
>
> [1] http://oddthesis.org/theses/jboss-rails/projects/jboss-rails/pages/using-maven
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

 « Return to Thread: Examples Rails app using Maven, Java libs and Spring