Examples Rails app using Maven, Java libs and Spring

View: New views
8 Messages — Rating Filter:   Alert me  

Examples Rails app using Maven, Java libs and Spring

by James Abley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?

Also, does anyone have any references that they really think I should
look at first?

Cheers,

James

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



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

by Nick Sieger-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



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

by Charles Oliver Nutter-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 3, 2009 at 2:56 PM, 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.

I would as well. I'm excited to start taking JRuby in a more
Java-oriented direction, which means using it with Maven, Spring,
Hibernate, annotation-based frameworks, and a lot more. We've got Ruby
pretty well solved, so now we must turn our attention to Java
integration. It will be a lot of fun!

So yes, not only do we want to help with this, we know we must make it
happen. Maybe we can start a discussion here about what's missing and
where we should start taking JRuby? Grails-like integration with Java
frameworks? Wrappers around popular APIs? Better two-way interop? It's
all possible...we just need to prioritize and make it happen.

- Charlie

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



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

by Leonardo Borges :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

--
Leonardo Borges
www.leonardoborges.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



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

by James Abley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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



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

by Leonardo Borges :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
>
>
>


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

by James Abley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/6 Leonardo Borges <leonardoborges.rj@...>:

> 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
>

Hi Leonardo,

Yes, I left a comment already, but thanks for including it in this thread.

Cheers,

James

>
>
> 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
>>
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



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

by Leonardo Borges :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aha!
Didn't notice it was the same James! :) Shame on me! :P


Leonardo Borges
www.leonardoborges.com


On Mon, Jul 6, 2009 at 10:58 AM, James Abley <james.abley@...> wrote:
2009/7/6 Leonardo Borges <leonardoborges.rj@...>:
> 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
>

Hi Leonardo,

Yes, I left a comment already, but thanks for including it in this thread.

Cheers,

James

>
>
> 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
>>
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email