I created a java web application in NetBeans.i was looking for a cloud service provider to deploy it.Most of the cloud platforms that i checked do not have any plugin for netbeans as they do for eclipse.
I tried to use the Google App Engine for netbeans 6.9 but that does not work for me.I also managed to deploy my app on jelastic but i am looking for some other options.Are there any other cloud service providers which i can use?
I am using glassfish as a server for my application.
While deploying your application on Jelastic did you face any difficulties?
Why are you searching for other options?
The plugin for NetBeans is still under the development and is going to be supported in Jelastic soon. So, stay tuned for updates.
Related
At the moment, I'm developing a java web application locally(localhost) on Windows, using Tomcat 8.5 .
Unofortunately, I have no developing enviroment, so I have to do everything locally and then deploy to production via .WAR .
The issue is that the production application server (Linux RedHat) is running on websphere, if I generate the .WAR on tomcat, Will I have any problems to run it on WebSphere? Should I change anything in my code or web xml?
My system does nothing fancy, no hibernate, no spring, just a very classic mvc web application.
Thanks in advance
In general you shouldn't have to make any changes, but there are some differences between the two environments that could cause issues.
IBM provides a tool that will analyze your application and suggest changes that may need to be made. You can find more information here: https://www.ibm.com/developerworks/library/mw-1701-was-migration/index.html
I'm working on a java spring web application. Every time I have a little change in application, there is no way for publish this change in weblogic except creating war file and deploy it to the server. I'm working on eclipse and I want to apply changes on live project in remote server(say 192.168.0.74 while I'm on 192.168.0.70). Is there any plugin or easy solution for this?
Thanks in advance.
For Eclipse development with WebLogic, install the Oracle Enterprise Pack for Eclipse to better integrate with WebLogic. You can then deploy to a remote server automatically.
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
My web application is made with Java, specifically with the Google Web Toolkit (GWT). The back-end used
GWT RPC RemoteServiceServlet
Hibernate/Java
MongoDB (via Morphia)
and other Java libraries
I really did not use any Spring framework at all, will my web application be able to be deployed in a CloudFoundry MicroCloud and in CloudFoundry.com hosting?
Will I be needing to reconfiguring my web application that has been tested and deployed in a Tomcat Server with MySQL and MongoDB database?
GWT should not be an issue.
If you want to deploy a java web app not using Spring, you can deploy it as a java web app, then parse the VCAP_SERVICES manually to configure your data sources from the application.
See http://blog.springsource.org/2011/10/13/using-cloud-foundry-services-with-spring-part-1-the-basics/ for details
https://github.com/SpringSource/cloudfoundry-samples/tree/master/hello-java
Why wouldn't it work?
In the event it wouldn't, that wouldn't be because of GWT at least: GWT-RPC runs in AppEngine, so there's no reason it wouldn't work in CloudFoundry.
I am totally new to java/GlassFish deployment. I am using solr for the search functions of my rails app. i can able to set the mater password for the domain from the shell. It was fine. It greets with authentication screen when i tried to launch GlassFish portal.
But i could't find how to set the permissions for my deployed solr war instance. Can someone help me how to do this?
There are a number of tutorials that outline what you need to do to secure a web app deployed onto GlassFish.
This is a tutorial on developing a secure a web app that you are creating in NetBeans for deployment onto GlassFish.
This is chapter from the Java EE 6 Tutorial describes how to secure access to a web app.
I haven't been around Java development for 8 years, but am starting to build a NetBeans Web Application. When I walk through the Web Application wizard, it asks for the server I'm going to be using.
What would be the best and simplest server for me to start using with NetBeans?
Since the NetBeans IDE is a Sun product, I would assume that the Glassfish application server would be a natural fit.
That said, one of the pluses of developing a web application in Java is that the interface for working with the http is standardized (i.e. the Servlet specification), so that you can pick any servlet container you want: be it Glassfish, Tomcat, Jetty or Weblogic. Since it sounds to me that you're experimenting and you want to use something easy to administer, I might go with Glassfish. However, be open to revisit that decision when you need to actually deploy your web application in a production environment. Be sure to check out other options like Tomcat or Jetty.
Unless you are deploying to a full J2EE application server, I would recommend using Tomcat. Tomcat can run as a standalone web/servlet/jsp server and avoids some of the complexities of a full J2EE app server.
The web development bundle for Netbeans will include installers for and automated integration with Glassfish and Tomcat. You will get the "best" experience using Netbeans with those servers.
That said, the workflow in Netbeans can be easily integrated with other application servers. As of 6.1, this includes Sun Java System Application Server 8 and 9, GlassFish v1 and v2, Apache Tomcat 4, 5 and 6, JBoss 4, BEA WebLogic 10, IBM WebSphere 6.0 and 6.1, Sailfin V1. See the Netbeans J2EE Features site for more info.
Glassfish is actually an easy to use app server. I think it's easier for a beginner to use and it's integrated with Netbeans. Setting up database connection caches is easy, for example.
You administer the server through this web page:
http://localhost:4848
(login: admin, password: adminadmin)
Glassfish will run your apps on port 8080.
The Glassfish home page: http://glassfish.dev.java.net (don't really need to read)
For non-Netbeans users there's a QuickStart guide:
http://glassfish.dev.java.net/downloads/quickstart/index.html
Here's a screencast overview:
http://download.java.net/javaee5/screencasts/admin-console/index.html
At some point you will want to learn Tomcat too because it's so prevalent, but Glassfish is a much friendlier start. In fact, it's probably better as a production server too, if you can find an affordable host.