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 10 years ago.
Improve this question
i want to create a android application, where it will fetch stories (probably html or text) files from internet. i want to know where can host these files(no problem with paid service).
Users should be able to search the stories, rate , and options like mostread and NEW..etc
is there any predefined web services are available for this kind of purpose?
If NO, then what are the technologies i should be familier with to achieve this in a normal web server.
Thanks in advance
I suggest you start with shared web hosting.
Starting at ~ $5/month, shared hosting offers usually have the following advantages:
No need to set up yourself the linux system, Apache and MySQL server
cPanel administration
Support of your preferred server-side language: PHP, Python (less common than PHP) etc.
Migrating to another host is pretty simple
The choice of the programming language + framework depends on your taste and experience.
Two very popular options are PHP/Code Igniter and Python/Django.
Of course, if the traffic becomes significant or if you already expect a very fast growth, you may also consider a scalable solution (which shared or even dedicated hosting is not). Amazon, Google and Microsoft provide this kind of service in the cloud.
From my personal experience with Amazon S3, setting up a web service in the could is far more time-consuming than with a traditional web host. I would not recommend it unless your traffic forecast is over dozens or hundreds of hits/second.
If you want to create your own service - checkout Google App Engine (GAE).
Enabled Java deployment (no need to programming in PHP, Pythone etc.)
Scalable (almost every one mobile app has potential to gain 1M users)
free quotas (free start)
Good integration with Google services and tools (GWT i.e.)
Disadvantages:
There is no option to (easy) migrate your solution to other service.
No ready to install apps (forums, etc).
Related
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 3 years ago.
Improve this question
We need to build a hybrid Java application for both mobile and Web. We plan to use Spring MVC and React Native.
Could you please advise us the best practices so that we can re-use the code as much as possible for both mobile and Web and it should be easy to maintain.
Should we build a common service layer and two different controllers for Web and mobile (using #Controller and #RestController). After that, these two controllers can call the same service.
For example, to display the information of all users of our application, we can have a common service UserInfoService, then we create two different controllers WebUseInforController (with path like /web/users/info) and MobileUserInfoController (with path like /mobile/users/info). These two controllers call the same UserInfoService. Is this a good idea?
Thanks a lot.
It all depends on your client requirement but I can suggest you some ways that may be helpful for you:
I worked on an enterprise financial application, on that application we follow the approach that we created a single server side (in your context single controller). That server side was used by by web application as well as android application. You can create services oriented or micro services application and expose your different services that will be reused in both android as well as web application.
**Web Application -----------> |Server side| <--------- Android Mobile Application**
Best Practise is that you should have a single server side and expose your services
And nevertheless there is another less economical and fast option as well:
You can go for web progressive applications. Progressive web apps are websites that look and feel like an app. This means users can access all information and capabilities without downloading a mobile app. Some big giants converted there applications into WPA e.g Ali Express, FlipKart, Twitter Lite, BookMyShow, Forbes and many more.
In the web progressive application you can follow any WEB architecture you want. You can even create an android application by using that website link in android. or that Application will work perfect in mobile browser as well.
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 6 years ago.
Improve this question
I've in the past created client-server web applications using Javascript, AJAX, Node, Express and MongoDB, but now I'm required to creare a client-server desktop application. It will therefore basically consists of a desktop program which will connect to a server program by doing requests. The server program will respond to the client program with the requested data which it can fetch from the database.
Since I'm really new to these kind of applications in Java, I have no idea how to create such an application in Java. Since the project will be large, we cannot hard-code all the server. We need probably a framework on the server side that listens for requests, but I've not found any for now. For example, Play Framework seems only to work for web applications. Which frameworks are useful for these purpose? Is this the right approach for this kind of applications? How would I connect client and server applications?
Please, do not suggest "use sockets". This will be quite a big "serious" project, and we need high level tools. We don't know how usually these kind of projects are created. Please, explain a little bit which patterns are usually used. Examples of concrete programs, maybe with open source code will be useful for us to understand. Also a list of the requirements that we need for these project would be very useful.
Note: I'm not asking for a exhaustive list of frameworks that we can use. I rather asking which kind of tools (with concrete examples) should we use and how to combine them. How to structure such a project.
You could write the server side application in Node JS or whatever other server side language you prefer - and implement that using REST services. Then in your Java desktop application, it would just communicate with the server using HTTP REST / SOAP etc.
That way if you were to then want to swap to use something like .NET to make your desktop application you would be free to do so without it changing anything on the server side. Also you would be able to implement a mobile application / tablet app / other web application and reuse all of the server side implementation easily without changing anything server side.
Another option is to use ServerSocket for the Java server side, and then connect to that from the client but you seem to know and dislike that option.
Another option to connect each side of the application would be to use some kind of pub / sub middleware messaging service - check out JMS as a framework - you will need some kind of implementation of JMS such as Active MQ, Websphere MQ or one of the many other free implementations. Check out : http://docs.oracle.com/javaee/6/tutorial/doc/bncdq.html
Difficult question to answer, but those are 3 high level options.
Use web technologies to connect client to server HTTP REST, or SOAP
Use ServerSockets and Socket connections and do everything manually
Use a messaging framework such as JMS
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.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have registered a new domain name with GODaddy.com
and i would like to host my domain for free. Assume the app is a basic HTML page.
I have referred http://www.youtube.com/watch?v=TVv_8SuhaDw for configuring GAE
now How can i configure my domain name to map to the app deployed in GAE
Any info will be helpful. Thanks
=================================================================================
Update 1
I followed the steps as given in How to use Google app engine with my own naked domain (not subdomain)?
but when i try to add the domain name it is asking to sign up for "Apps for Business", which i don't think free of service
Is there any way to add domain name to GAE with free of cost
Update 2
After some search it seems google have stopped offering standard (free) edition of Google apps on 6th december 2012.
https://support.google.com/a/answer/2855120?hl=en
Is there any way to host a free domain through google service ?
Ok, to sum the short answers up:
Google closed the door for "free" domain linking to Google App Angine domains slowly.
To link a domain to Google App Engine apps always a connected Google Apps account is necessary.
Google Apps free of cost was canceled last year with a few months time where it was possible to sign in for limited Google Apps version with just one sub-account (so only one mail account for your domain e.g.) and some more limitations.
But as far as I can see from comments and my research over the summer, the links mentioned in the posts about the limited version are no longer available.
So you have to use one of the alternatives like CapeDwarf (if you want to stick to the APIs) which is told to run happily on OpenShift. And being there you could also think about directly using the Paas Services of OpenShift or CloudBees for application where the "free of cost" feature is essential. I didn't find that too hard for my personal stuff
You can register to "Apps for Business", it's free and gives you 50 email addresses and another number of nice things, free small apps hosting is one of them.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
i don't much about cloud hosting.
Now i am building the website in java using spring , mysql.
Can i host that website on cloud with google or any other provider.
i want to know how much it costs , currently for VPS its about $80 per month
or i have to get the VPS.
I am in Australia
You can. Both on Google App Engine and on Amazon EC2. GAE will impose some limitations, while on EC2 you can deploy as if on VPS.
Basically you are not limited geographically if you want to use cloud service.
From my perspective you should pay your attention on several cloud computing platforms which meet your requirements:
Rackspace
Cloud Foundry
Jelastic
Besides, the costs depend on the application resources. In Jelastic VDS is also scaled vertically. So there is no fixed imposed price for this.
Despite the question was asked years ago, I think it might still be useful for others.
I recommend trying Jelastic Cloud, as they provide unique vertical auto scaling (in addition to horizontal as well), for Java, PHP, Go, Ruby, Python, Node.js projects hosting and for Docker or Kubernetes containerized apps.
Jelastic platform is pretty easy to use, provides wide variety of prepackaged applications ready for install in 1 click, is famous for its revolutionary Pay-per-Use approach that lets you pay only for resources in use (without huge overpaying like twice bigger VMs packages in AWS), auto scalability that enables your apps grow easily without a need to migrate/expect downtimes and much more great features.
Jelastic has Cloud partners across the globe, and in Australia Cloudlets.com.au could be mentioned with Tier III data center, providing a first class cloud hosting services and good technical support.