Can I uses another server to deploy dropwizard project (Jboss).

805 views
Skip to first unread message

Watcharapong Nanthasan

unread,
Jul 25, 2014, 12:50:50 PM7/25/14
to dropwiz...@googlegroups.com
I want to uses dropwizard project and deploy the project to Jboss Server. I learn dropwizard fromwork about 10 days in tutorial which it deploy and run on Jetty server.

Please suggest me. 

Tatu Saloranta

unread,
Jul 25, 2014, 1:04:16 PM7/25/14
to dropwiz...@googlegroups.com
Why? Are you sure you couldn't just run DW service on whatever container it happens to use (Jetty)? That's the philosophy; if you do need JBoss, perhaps DropWizard is not right for you.

-+ Tatu +-


On Fri, Jul 25, 2014 at 9:50 AM, Watcharapong Nanthasan <nantha...@gmail.com> wrote:
I want to uses dropwizard project and deploy the project to Jboss Server. I learn dropwizard fromwork about 10 days in tutorial which it deploy and run on Jetty server.

Please suggest me. 

--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jochen Schalanda

unread,
Jul 28, 2014, 5:23:36 PM7/28/14
to dropwiz...@googlegroups.com
On 25.07.2014 18:50, Watcharapong Nanthasan wrote:
> I want to uses dropwizard project and deploy the project to Jboss
> Server. I learn dropwizard fromwork about 10 days in tutorial which it
> deploy and run on Jetty server.

Dropwizard is an opinionated framework which happens to use Jetty as its
Servlet container of choice and which makes it hard to use another
Servlet container or deployment model.

That said, there is a project project which might help you to build a
good old-fashioned WAR from your Dropwizard applications which can be
deployed to any other Servlet container or application server:

https://github.com/twilio/wiztowar


Cheers,
Jochen

Koen Roevens

unread,
Mar 21, 2015, 6:22:10 AM3/21/15
to dropwiz...@googlegroups.com
Have a look at https://github.com/rvs-fluid-it/dw-jar-to-war. The project is still in its early stages. Nevertheless it is already running on Tomcat 7 and Weblogic 12c. Feel free to test it on Jboss. I welcome feedback.

Yun Zhi Lin

unread,
Mar 22, 2015, 8:15:24 PM3/22/15
to dropwiz...@googlegroups.com
I personally think putting Dropwizard back into a war would be a step backgrounds from the Microservices architecture that Dropwizard is tailored to. 

Have a look at the following articles:

Ryan Kennedy

unread,
Mar 23, 2015, 12:42:44 AM3/23/15
to dropwiz...@googlegroups.com
Enh…Dropwizard may be good at microservices but as one of the original users and contributors I wouldn't say it was ever tailored to microservices. It was tailored to deploying production-ready services. To that end, I'd say there's nothing inherently anti-Dropwizard about WAR files.

Deploying as a fat JAR, however, was a huge win for build reproducibility, which was a very early goal for us. The bits you built and packaged days/weeks ago were the same bits running in production today. You can't always say that with as much certainty in a WAR + app server world.

Ryan

--

Glenn McAllister

unread,
Mar 23, 2015, 10:49:03 AM3/23/15
to dropwiz...@googlegroups.com
What Ryan said. That's the major reason I picked Dropwizard personally, as knowing what was in development/QA/production was always the same was a major win. The fact that we can (and I have seen) different versions of Tomcat used for all three environments, and sometimes different versions of Apache with different cipher configurations (and capabilities, i.e., statically complied libssl vs. system libssl) in QA vs. production can make all the difference in the world. 

Koen Roevens

unread,
Mar 31, 2015, 3:25:39 AM3/31/15
to dropwiz...@googlegroups.com
I've renamed the project to https://github.com/rvs-fluid-it/dw-jar-to-war and added a bit of documentation. A first version is released to Maven central. 
I use it myself on Weblogic 12c, but I expect that it will run on jBoss as well. 
Cheers


On Friday, July 25, 2014 at 6:50:50 PM UTC+2, Watcharapong Nanthasan wrote:

Koen Roevens

unread,
Mar 31, 2015, 3:35:02 AM3/31/15
to dropwiz...@googlegroups.com
@Yun Zhi Lin
Having the freedom to choose the production server is a luxury. Often you are bound by company standards.
Even in this context it is still beneficial to use Dropwizard.
My 2c
 

On Friday, July 25, 2014 at 6:50:50 PM UTC+2, Watcharapong Nanthasan wrote:

Yun Zhi Lin

unread,
Mar 31, 2015, 5:24:41 AM3/31/15
to dropwiz...@googlegroups.com

@Koen Roevens 
Very true. I actually came from a ESB/Jboss environment myself for 7 years, looking back my current freedom is a luxury indeed.

I stand corrected. Will check out your wizard-in-a-box (it's still called it dw-jar-to-war in your previous comment) and recommend to anyone else with similar use cases.

Koen Roevens

unread,
Mar 31, 2015, 7:35:08 AM3/31/15
to dropwiz...@googlegroups.com
@ Yun Zhi Lin
Thanks.

On Friday, July 25, 2014 at 6:50:50 PM UTC+2, Watcharapong Nanthasan wrote:

Carlo Barbara

unread,
Apr 9, 2015, 2:08:35 PM4/9/15
to dropwiz...@googlegroups.com

--

Koen Roevens

unread,
Apr 10, 2015, 7:15:14 AM4/10/15
to dropwiz...@googlegroups.com
@Carlo
It's my pleasure.
I've just created a pull request.


On Friday, July 25, 2014 at 6:50:50 PM UTC+2, Watcharapong Nanthasan wrote:
Reply all
Reply to author
Forward
0 new messages