Is there a way to deploy DropWizard in JBoss? - java

Is there a way to deploy DropWizard in JBoss? We are required to use JBoss anyway but don't want to miss out trying DropWizard. Came to know about wiztowar but current DropWizard version 0.7.1 (which is tailored to support JDK 7+ and likely to be supported in future) does not seem to have equivalent in wiztowar, whose last version is suited only for DropWizard 0.6.2? Is there a way out?
Thanks,
Padmanabhan

Have a look at https://github.com/rvs-fluid-it/dw-jar-to-war. The project is in its early stages. But it is already working on Tomcat 7 and Weblogic 12c. The DropWizard version is 0.8. Feel free to test it on JBoss. I welcome feedback.

Related

Does jetty-monitor has been removed in Jetty 9?

I need to monitor the Jetty threads and expose metrics to JMX in the runtime like the idle threads count.
My Jetty version is 9, and I found there is a document for Jetty 7/8 about jetty-monitor:
https://wiki.eclipse.org/Jetty/Reference/jetty-monitor
The feature is what I need, but it seems outdated. When I check the documentation for Jetty 9, I couldn't find the monitor-related feature.
https://www.eclipse.org/jetty/documentation/jetty-9/index.html
Anyone know what's the new approach to monitor
As far as I know, Jetty 9 still support classes of monitoring on the library. But It isn't exist for operational section of monitoring in the document.
If you wanna get that library with Jar file, you can visit to get that on maven repository to follow below link.
Maven repository
The features that jetty-monitor used to provide is now baked into Jetty 9.
Those values are present in JMX still.
Just make sure you have jetty-jmx enabled and you are good to go.

Can Beehive Framework run on Tomcat

We're looking to do a migration of an old app to cloud. Currently it is built on Beehive framework and running on Weblogic 10.3.6. My question is, can we run Beehive framework on tomcat and get rid of weblogic altogether? I can not find anything on this subject anywhere. Any advice would be appreciated.
Thanks!
Beehive is coming from the Apache Foundation and is completly open source. Read the documentation. Migrating your application from WebLogic Server to Apache tomcat should be possible.
It is a very old, deprecated and abandoned project. No fix or development since 2006. I suggest you to migrate your application to a more recent and powerfull JEE web framework if possible.

How to configure jetty in eclipse?

I found this tutorial that makes my case.
But the problem is that I can not configure Eclipse to use jetty.
I imported the libraries in eclipse, but it always fails in some import.
Who can help me with simple steps to follow?
I need to integrate some servers? (For example tomcat)
Excuse me, but it is my first encounter with websocket and java, and not know where to start
thank you very much
This is a screenshot of my problem
Jetty 7 is EOL (End of Life), consider upgrading to a stable and supported version of Jetty.
org.eclipse.jetty.websocket.api is not present in Jetty 7.
That was introduced in Jetty 9.
Use Jetty 9.4.3.v20170317

How risky if I develop on Weblogic 10.x and deploy to Weblogic9.2.x?

Recently I took over a relative old project, which is running on weblogic 9.2. I need work on some change requests. I don't know much about weblogic product.
The old DEV-Env is windows based, however I dont have a windows machine. I tried to download Weblogic9.2 for linux (32bits), however I cannot find the link on Oracle website, after quite a lot google, still no working link found.
So the options for me:
find out a working link, download weblogic9.2 and work with it
download and use the 10.x version from oracle
setup a windows box (we have the installer of weblogic9.2 for win)
the 3 is the last thing I want to do. If someone knows where can I get the 9.2 version, it would be great. If there is no weblogic9.2 available, can I work on weblogic10.x and release to 9.2 in production? how risky is it?
Developing in WLS 10.x and deploying in 9.2 may cause some trouble.
There are quite a no of features which have been upgraded in 10.x, such as Java 5 to 6, J2EE 1.4 to 5, Servlet 2.4 to 2.5, JSP 2.0 to 2.1, EJB 2.1 to 3.0.
While most of the features here do have backward compatibility, you have to be extra careful when you develop.
I would suggest to develop based on the lowest common denominator features only, and build on the same server you are deploying it to. (i.e. 10.x has a diff build, and 9.2.x has different one.)
EDIT: There seems to be a authentic binary available on PeopleSoft's FTP site.
It's definitely a risk. Different versions of Weblogic use different jars, so what works on 10.x may not work on 9.x. It's a good practice to have your QA and PROD environments as similar as possible including node setup and startup variables.
If your current PROD deployed code works on 10.x then I would upgrade your PROD environment to 10.x and continue your development on 10.x. If not then do what you can to have 9.x on your DEV environment as well.

Seam 2.2 App on JBoss 7.1?

We have deployed our JBoss Seam 2.2 application on JBoss 5.1 with PostgreSQL as the database. It makes use of EJBs, JPA (Hibernate), JSF (Richfaces and Primefaces), Servlets, and JMS queues and topics. Recently, we've decided to migrate the platform to JBoss 7.1 to take advantage of its lower overhead, as well as to keep in step with changes in technology.
Is it possible to run Seam 2.2 applications on JBoss 7.1? I realize the Hibernate/JPA version is different, and I'm assuming the JSF version is as well. Are there ways to compensate for this? What changes to our code and configuration could I potentially have to make in order to run it on this platform?
The short answer is yes you can migrate your Seam 2.2 app to JBoss AS 7.
The main challenge is going to be classloading because of how class loading is completely re-architected with AS 7.
Instead of me going through all the steps here I simply want to point you to the official documentation of how this was done on one of the sample apps (Seam Booking application). It provides a step-by-step guide on how you can migrate a Seam 2.x app to JBoss AS 7 and also points some of the issues you will face and how you can handle them.
The guide is located here.
Other useful references
JBoss AS 7 Classloading
Seam 2 JPA Example
Good luck!

Categories