what is the best hosting for java web application? [closed] - java

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
what is the best hosting for java web application?
Amazon Ec2 - is to expensive (about 60$ per small instance a month)
Google Application - is not flexible in persistence and not fully support JDK

"best" for what purpose? The point of Amazon EC2 is that you can scale up easily and only pay for what you use.
If scaling is not an issue to you (i.e. you don't have many concurrent users and don't expect this to change quickly), then the best option is probably a virtual root server (offered by pretty much any general hosting provider these days). It offers maximal flexibility for a low price, but with limited performance, and it requires you to handle administration yourself.

javaservlethosting.com is pretty cheap if you work with tomcat and don't use hibernate. I switched over to cloud on softlayer.com after I got the info that I can't use hibernate. They have some pretty good deals but everything is over $60.

Related

Nosql Java cache extension? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I've been reading more about the Java cache and been wondering if one could extend it with a nosql system so that java apps across multiple systems can have a common cache; ie 10 app servers all running the same app on a distributed architecture behind a proxy could share a common java cache stored on a nosql system like memcached.
Does anyone know of anything like this?
The Java Cache API only defines a technology-agnostic API to access a cache from a Java application.
The main implementations are EHCache, JBoss TreeCache and a few other, but I fail to see why it wouldn't be possible to implement an adapter to use MongoDB, memcached or any other NoSQL database.
So technically, yes, it should be doable. But the API is still relatively new, so maybe those adapter will be implemented soon by your favorite database provider.
See here for the existing implementations : JSR 107 implementations
This is certainly a viable architecture approach. You might want to check out this article that provide a bit more details on how distributed caching can help distributing Java application:
http://www.cacheonix.org/articles/How_to_Distribute_Java_Application_on_Multiple_JVMs.htm

JAVA EE web application and big traffic [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I choose java to make my web application with maven + hibernate + spring MVC + apache tomcat server (Java EE).
My web application will have many users and many visitors every day.
But my friend told me that web application with java don't support a lot of connections and it's made just for Intranet and business application with network within an organization.
So is it true apache tomcat can't handle all that traffic ?
i'm not looking for who is the best between java, php and .NET i want just know if web application with java can handle a big traffic ?
also explain me if there is some other negative points of using java and apache tomcat server.
The Java based technology stack you describe is extremely scalable, if you want it to be, and I would have no worries about using it for high traffic applications.
You may want to look at distributed hosting and load balancing, to make things more reliable. Lots of high traffic applications use Java and Spring stacks.
using plain old jsp/servlets are faster than spring and hibernate because spring or hibernate have a middle tier with classes which renders the page slowly and takes more memory at the server.
For production environs with huge scale applications you will end up writing plain jsp/servlets as they are a breeze to write and maintain.
Also i would like to add that struts library(jar file) had some security vulnerabilities in late 2013 only. Stay away from Struts and Spring.
People may be down voting but there is truth behind what i have actually experienced.

it is possible to migrate J2EE Applications to a cloud-based services? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Does anyone know how much effort, time and budget (and even if it's posible) is required to change traditional J2EE application development to "on-the-cloud" services, I mean databases, datasources, security concerns, etc.
thanks in advance.
Possible, certainly YES!!! Depending on the architecture of your application you may choose from the following solutions (my suggestions):
IAAS: Amazon EC2, Google Compute Engine, etc.
PASS: Cloudbees, Jelastic, Openshift, Heroku, Amazon Elastic Bean Stalk, etc.
Effort and Time
I would say the effort required is minimal, almost as equal to a local setup for IAAS and even easier with PAAS.
Budget
These services are also relatively cheap, check out their pricing info.
Databases/Datasources
Easily configurable.
Security Concerns
Should be same as the ones applicable if you had locally hosted.
You may wish to have a look at a recent guide published by DZONE

Do PAAS solve scalability issue of BlazeDS? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
We are developing a flash game with flex as client and java as server. For the communication between client and server we are planning to use BlazeDS. We are hoping that hundreds of thousands (maybe millions) of players will play the game concurrently but we find out that we would have problems on scaling because of the BlazeDS's limitations on the number of clients it can handle. We are not able to afford LCDS, and heard that GraniteDS does also have limitations (higher than BlazeDS but still not enough).
Would deploying our application to a PAAS such as Amazon Elastic Beanstalk solve this scaling problem considering the Blazeds's limitations?
To summarize very quickly
With BlazeDS you have a limitation of a few hundreds connections per server.
With GraniteDS you have a limitation of a few thousands, possibly a few tens of thousands connections per server depending on your use case, size of payload, etc. (in fact the actual limits are those of the app server asynchronous I/O support, tomcat, jetty or whatever).
Using clustering (on a PaaS or wherever) would bring you to much higher numbers (not sure you can get to millions though).

Can I get cheap JSP/ JSF hosting in shared hosting plans? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I want to use JSF with Facelets/JSP in my website. Can I get Java hosting in cheap shared hosting plans ?
Not sure if you are asking about shared hosting because you actually want shared hosting or because of the expense typically associated with a VPS. If you are looking for a good, inexpensive VPS, check out Quality Servers. I opened an account with them about a month ago and couldn't be happier. Their prices are dirt cheap and you have full control over your server. I got to them via this link: http://www.lowendbox.com/blog/qualityservers-4-600mb-openvz-vps-in-us-or-uk/, which from what I can tell will get you a cheaper price than shopping from the main page of the site.

Categories

Resources