I am trying to figure out how to deploy my WebService project to my running Jboss server. This seems to be a lot harder than it sounds. I can not find any tutorials or guides on how to do this.
I have tried to deploy the whole Web Service Application project as a .rar file via the administrator console but it gives an "unknown error". I am able to run the WebService on the developer webserver.
Is there any best practice or other lean way to deploy my webservice directly in Visual Studio?
I've also tried to publish the project through Visual Studio but the wizard says that localhost:8080 which is where my Jboss application server is running on, but it says that it doesnt exists.
Any suggestions on how to do this?
JBoss can only run applications that are compiled to JVM bytecode. A .NET application is using the CLR runtime, not the JVM.
Related
I need to state up front that I am not a Java developer. So it is fair to assume that I know very little about the tooling etc. that Java dev's will be naturally familiar with.
So, I have created a Jersey web api (2.25.1) on my home server running Windows 2012. It serves data to a Xamarin application. I need to deploy this to a Linux server (Ubuntu) on AWS which my friend spun up.
At the moment, the only access I have is via SSH (Putty).
Tomcat (and Glassfish) have been installed on the Linux machine.
How do I go about deploying that application to that AWS server?
The official Jersey documentation seems to be MIA, and my Googling efforts don't yield much. There's a lot of SO questions with a similar title to this one. But I have not found any of the answers (and in many cases, questions) helpful to my cause.
Cheers
I assume that you are using maven to create your jersey web app .
Upon build you will get a *.war file .Copy the same to tomcat/webapps folder .
Start your tomcat then.
To take your file there on remote use winscp tool with your ssh credentials.
I'm trying to figure out how to deploy an Angular.js app to a Weblogic server and am getting stuck. The goal is to have a Java Servlet running a REST API to communicate with the weblogic server while the Angular app serves up the front-end.
Typically, I used a gulpfile to build my Angular application and bower to manage the dependencies. I can't figure out how to fit the Java Servlet into the build though, and what to do about deploying the app to the weblogic server.
I read that grunt and bower can be used to generate Maven files which would then be installed as artifacts on the local repository, but it isn't making much sense to me. Has anyone done something similar to this before and have advice?
Oops. all right!?
I'm currently having to develop applications in AngularJS to be used in an application server. Specific tasks that the Gulp can provide, I will be flawed if i try to say something as use Grunt (grunt-contrib-war), but on the issues architecture're, i created e install 2 aplications to the weblogic, usually with CrossOrigin defined between them. therefore its development is separated, Service layers and consumption layer.
In a larger scope could consider using:
Service-web
Service-oauth
Service-rs
ApplicationA
ApplicationB
P.S .: Searching in npm to found: https://www.npmjs.com/package/gulp-war
I'm trying to learn Google App Engine, though they're making it very difficult.
When I deploy an application through windows console or through Eclipse's GAE plugin, it works fine, but what am I deploying the application to? What web server/container is being used? Should I be able to see the deployed files in my google dev console?
Also, when I use the "click-to-deploy" feature to deploy an instance of tomcat, it sets it to a new URL as an "external" ip address. Why is this not being set to my project's appspot URL? Is this an entirely different server created in addition to the default one that is created automatically?
Searching for GAE info on the web just returns millions of pages about their offerings, but nothing to explain the behind the scenes stuff.
Thanks!
Let me break down the questions:
When you deploy through the console or the Eclipse plugin, you are deploying to the App Engine runtime. You can see what is running by going to the App Engine section of the Google Developer's Console.
This app is served from the .appspot.com domain as well.
Click-to-deploy is not App Engine, but Compute Engine. Compute Engine is more akin to a VM in the cloud. You get SSH access and a Linux or Windows operating system, but don't get all the auto-scaling and things built into App Engine. You would access this through the IP address, not the appspot URL.
I hope this helps!
I have just learned to create java rest API using jersey and Oracle database.
I'm developing in eclipse and using weblogic server to run and test web service on localhost.
My question is what are the options of live servers to deploy this service so that I can access this API in my android application or any web application???
You can do that. But you have to make sure that all the dependent jars are packaged with the your WAR project(eg; Oracle db related things).
Some blog entries which give you an idea about what are all these servers and which one to pick for open development and common standards - http://blogs.forrester.com/mike_gualtieri/11-07-15-stop_wasting_money_on_weblogic_websphere_and_jboss_application_servers,
and this one http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/
This will give pretty good idea about what is all these servers :)
I want to check deploying procedure of my struts2 web application developed using eclipse juno on local tomcat server. I want to deploy it to a remote host like 000webhost. Can you provide me any information how to do that?
well, I run my application by typing
http://localhost:8080/Struts2starter/
on browser I want to run it by typing
http://myapp.com/Struts2starter
like something on browser. I wanted to know how to do it.
I don't believe you can deploy a Java application in 000webhost. For example, you can deploy on Google App Engine. Here is an example of how to do that: http://www.mkyong.com/google-app-engine/google-app-engine-struts-2-example/
It depends on server in question. Most servers provide some kind of remote deployment using manager applications / rmi connectors / whaever else exitic means , and eclipse can work with most of them. But of course it needs to be configured on both sides in order to work. Be more specific about your server config, and you will surely get proper answer