I am using WebSphere 8.5 for an Java/J2EE application development. Every time when I update java classes, I need to go through the process of building the EAR project, then updating the EAR filing through WebSphere console to deploy the changes. Is there an simple and quick process to patch/copy the java classes to WebSphere?
I have done it when I was developing application in Tomcat, I will just set build automatically in my IDE(eclipse) and it does the work.
You can deploy individual class files if you want to. Either officially, through the web console, or unofficially on the filesystem.
See what's the difference between folders 'installedApps' and 'applications' in websphere application server?
But I don't think this is what you're really seeking.
I don't know of any way to automatically update classes from an IDE to a remote WebSphere instance. I've only done so to a local WebSphere instance I run from within Rational Application Developer (IBM's branded Eclipse).
Related
I have a spring boot application that running on embedded tomcat with java -jar app.jar on a server away from my work office, and I haven't any ssh or other access to that server.
So when I want to install and run newer version of application, I should go to the server place, physically connect to server and then install and run newer version.
Is there a way to run newer version of application without going to the server place? for example, upload newer jar file into my running application, and itself update it.
NOTE
I don't have any access to server and cannot use and run any continous delivery tools like jenkins or other, because of IP and port restrictions.
I did something like this a while back which worked out pretty well.
So you could create a super small app on the server(so small that it "never" needs to be updated) and have that monitor the versions and when a new version is available it could stop the real process and restart it with the new jar file.
I unfortunately don't have the code for that starter app, but it shouldn't take that long to write one that suits your needs
Why don't you install a Tomcat to the server and use it's management GUI to deploy the newer version of the app? It is a very old fashion but works well.
The only thing you will need to modify in your source code is to replace the packaging from jar to war in the pom.xml, so you can deploy it via Tomcat Manager.
This how the manager GUI looks like:
You can learn more about the Tomcat Manager here.
I am trying to do a project with micro-webservices with spring boot and tomcat. My idea is pull apart each one services in different projects.
However there are shared services. For this I thought of creating the shared services like web services, however the final system increases the latency, for this reason I think doing it like library .jar and share the folder in tomcat with shared/lib and change the conf/catalina.properties file like here with:
shared.loader=${catalina.home}/shared/lib,${catalina.home}/shared/lib/*.jar
The problem occurs when I replace the library .jar for a newer version, I have to restart the server tomcat and all web services within, this is not ok.
Could someone tell me other option to do it?
Regards.
I have watched some videos regarding set up of polymer js application. In some, they say start SimpleHTTPServer and deploy your app, but this server is a module of python, I don't want to install it.
So I want to run this application using some Java related server.
I have used Apache Tomcat (although any Java web server would work). Create a simple static web application (Eclipse creates a template for a new web project) and add your polymer files to it. Deploy to Tomcat and point your browser to http://localhost:8080 (or whichever ip:port you have configured)
While in active development use Eclipse to deploy and sync web application to Tomcat. Refer to Eclipse documentation for that.
For production deployment, first use polymer-cli to create a bundled package and then deploy the contents of the bundled (or unbundled) package as a web application.
I'm working in a lab where they typically deploy apps to Geronimo. I have an existing stand-alone server based app written in Java. Can any Java application be hosted in Geronimo? If so, is there a good reference to take an existing app and host it in Geronimo? Is there a benefit to hosting something in Geronimo or are there times when something is best left as a stand-alone app?
When you work on an Application Server, there is specific way a program should be written for it to be qualified for deployment on app server. A program can be a Servlet, EJB, JSP etc. If your existing stand-alone server based app is any of these, then it can surely be deployed on Geronimo.
I am having a web application which is deployed in oracle weblogic application server. After getting analysed, i found that there is no need for application server(atleast for this application), i am in need to deploy this application into the oracle weblogic web server.
can anyone help on this, how can i change deployed application to webserver from application server ?
Or in a different words, i can say how can i migrate my application deployment from oracle weblogic application server to oracle weblogic web server ?
I am using weblogic 10. and Maven to build the application
About the application, it is using Apache axis, webservices, jsf, and few java classes.
Thanks in advance!
I've recently migrated one application from WAS to tomcat
The approach i followd is.
Identify and remove all the WL specific dependencies / jars (that you may not need of)
Change the build script to generate .war instead of .ear
deploy the generated .war to any servlet container/ webserver
with your specs (axis,ws,jsf) you dont need a .ear but .war will do.
if you are using ant modify your build script, i'd suggest go for maven for better dependency management
building of top of the answer by #TechExchange
even for Jboss, you still need to analyze the application to remove all WL specifics.
Ex: Descriptors for EJB's MDB's and so on.
with JBOSS you can still use the ear format.
A quesiton, you had mentioned that because you found that the application doesn't need a app server you decided to migrate it to web server, now with JMS in the picture do you still need to move?