I have developed a java Rest Service in NetBeans.... It is a web application.It needs jax-rs jar files. Now when I want to buy domain and hosting for this project, what kind of packaging should i do?And can I host the resultant file in a shared hosting on Tomcat Server?
Well, you can deploy your application in 3 ways:
On JavaEE supporting hosting
On hosting with Tomcat — than you'll need to include JAX-RS implementation jars into your .war file
On any VDS/VPS, but you'll need to set up applcation server/servlet container yourself.
Related
when a JHipster app is run, it is using in default an embedded server, as far as I understood it is Undertow.
Questions:
How to configure to use another provided available embedded server (Tomcat for example)?
How to configure to not use an embedded server, but instead an external server like Tomcat?
Cheers
all your need to do is copy and paste your *.war file to your tomcat external server, and run your jhipster app as server root or rename your jhipster war archieve into ROOT.war ( this is a bad way ).
i've done this before when i;m deployed my jhipster app with openshift which is must deployed inside of tomcat 8.
I uploaded my project to Bluemix using IBM Domino Designer, the XPages runtime started fine. During testing, I hit the URL and I received a message
"The application /gittest.nsf requires org.openntf.xsp.debugtoolbar.library. This library cannot be found."
I use a UpdateSite on premises and this application also uses jars in the lib\ext folder on the Domino server.
How do I deploy external jars with the XPages runtime?
How do I deploy my servers updatesite?
When I build locally, I have a c:\sharedlib folder where I have Spring Boot, Hibernate, a Service jar with DAO. In my designer, the project is configured to use the external jars. On the server, I have these jars in the lib\ext folder.
I also use some openNTF projects in UpdateSites (like the error sampled here).
Please advise!
You need to put all the osgi plugins in a folder named 'shared-plugins' this directory should be at the same level as the Manifest.yaml file in your project's deployments folder.
More details see the blog of Oliver Busse
http://oliverbusse.notesx.net/hp.nsf/blogpost.xsp?documentId=FD2
My company has a Web Application that uses the JAXB provider in the JDK
The application runs great in Tomcat.
We have a customer that want to to use WebLogic
The application fails when trying to create a JAXBContext.
This page https://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#WSGET347
documents how to configure a WebLogic application to not use MOXy for JAXB
When I use the "Global" solution, modifying the startup script to prepend modules/databinding.override.jar to the classpath, my Web App works fine
This is a rather large hammer as the customer has existing apps on an existing server and we are targeting that server.
When I try the Application level solution, no luck.
Any pointers as to where I going wrong?
Eclipse Workbench
I am deploying my web application as an war in tomcat. I don't want my war and extracted folder inside tomcat webapps to be exposed to others. Since it can be easily decompiled.
Kindly provide solution for this issue.
Here my requirement is to seperate the public portal and admin portal.
Faramework is JSF1.2 , EJB 3.0 and application server is glassFish 2.x
So my question is that can we have 2 WAR files and 1 EJB.jar file
in single enterprize application?
If yes how to access the EJB's
from both WAR's ?
can we deploy and application with both WAR's and EJB?
IDE is Netbeans 7.0
OS is Windows 7
Any information will be appriciated.
Yes, you can have multiple war files and an EJB jar file packaged in an EAR.
The EJBs will need to have local interfaces, but will be accessible in both web apps.
You probably should not try to deploy the web apps, EJB jar as stand-alone modules and then attempt to deploy an EAR file that contains all of them. It can be done, but the errors that you are likely to encounter will be a bit confusing.