Hi Kevin,

I think the idea of an embedded container inside the stack a la Play
is what Spring boot is trying to emulate. Its irrelevant whether it is
jetty or tomcat.

What I need is an easy way to do : java -jar <myapp>.jar

Cheers

Rakesh

On 10 February 2014 10:13, Kevin Wright <[email protected]> wrote:
> The best advice is probably to "use Jetty"
>
> It seems to have much better support for running as an embedded container,
> I've never seen a solution with Tomcat that didn't look cumbersome.
>
> You might also investigate if you *truly* need a container.  I'm guessing
> that your dependency on Spring demands one, but an increasing number of
> frameworks and libraries (such as play) are happily doing away with
> containers altogether.  This is certainly the trend in the Scala ecosystem,
> but I'd be awfully surprised if the trickle down effect didn't mean that
> similar ideas weren't also being adopted by someone somewhere in pure Java.
>
>
>
> On 10 February 2014 10:05, Rakesh <[email protected]> wrote:
>>
>> Hi guys,
>>
>> decided to do something different and deploy my app with an embedded
>> Tomcat instance.
>>
>> The new Spring Boot project actively encourages this and it is very
>> nice from a purely dev perspective not having to configure a container
>> externally to test things.
>>
>> However, I deploy to Unix (AWS has their own variant) and am stumped
>> with getting the app to automatically start.
>>
>> Googling around has uncovered some very complicated solutions,
>> including an apache project to achieve this.
>>
>> Any advice? Does it have to be so hard?
>>
>> Thanks
>>
>> Rakesh
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/javaposse.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to