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 7 years ago.
Improve this question
Could somebody explain what the difference between spring cloud and spring cloud netflix? I am just starting to learn and the difference is not very clear for me. The spring cloud is an "interface" (or standart or base implenetation) and Netflix is another "implementation"? Or netflix provide something different things? (what exactly?)
Also Netflix is private company - is there any restriction about using they components? Is spring cloud netflix free?
Spring Cloud is an umbrella project, which consists of several technologies to help developing cloud based applications. Spring Cloud Netflix is a subproject which provides an integration for the Netflix OSS projects (which also consists of several technologies for developing cloud applications, see the Netflix OSS Center).
Every of those project provides a LICENSE file, which contains the license for that project. In case of Spring Cloud (and i think all other Spring projects) and at least Netflix Eureka, it is Apache License 2.0, which also allows you to use that technologies commercially.
Related
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 have an application that's integrated with Google Cloud Storage. I need to write some unit/integration tests to test my application with Google Cloud Storage.
I found a MockGoogleCredential class for Java that simulates the credentials provider, but I could not find any code examples. Has anyone used this before?
The gsutil test command explained here can be used to run the gsutil unit tests and integration tests. The unit tests use an in-memory mock storage service implementation, while the integration tests send requests to the production service using the preferred API set in the boto configuration file, view gsutil help apis for more details.
In addition, I came across Google In-Memory emulator, but according to some Stackoverflow posts this has been moved to here.
There are also some non-official options been developed, such as this one which you could use for stubbing/mocking Google Cloud Storage as a standalone server.
Finally, while navigating through related GitHub Feature Requests, I came across this unofficial library which includes integration tests and supports GCS, according to this GitHub issue.
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 6 years ago.
Improve this question
I've to develop an Image Server that should provide REST API supporting Hypermedia. (With basic functionalities like login, register, upload and download images)
I think to use Glassfish as a server to develop my project and Java as the programming language.
How can I develop the project? I think that a possible idea is to create different Servlet (that are my website pages) and insert links that connect different Servlets (example from login Servlet I can send information through post to itself and check the login data, if these are OK it creates a session and sends a GET request to the home Servlet).
It's correct to implement in this way? There are better ways to implement this service? (Maybe JSF)
I am asking here because I've the fear to miss completely the goal.
I suggest you to use Spring projects. There's multiple Spring projects that seem very useful regarding what you indicate.
REST API supporting hypermedia : https://spring.io/guides/gs/rest-hateoas/
Security (login, register) : https://spring.io/guides/gs/securing-web/
Frontend : https://spring.io/guides/gs/spring-boot-cli-and-js/
I think you should have multiple services ("Micro services") for your project.
For example :
Authentification/User registration service
Images upload/download service
...
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 7 years ago.
Improve this question
I want to write pizza delivery application.
It consists of 2 parts:
1) native android app - that lets users to browse and order pizzas
2) web-site for pizza shop owners, to see orders.
Which technology should I use to build web-page?
SHould I use MVC framework like Sprint Struts2 or smth else?
Spring MVC is a good choice of framework, since it can handle so many parts of the application (Data persistance, security and MVC) altough it may be alittle overkill for a small application.
A possible stack could be:
Database: MySQL or MongoDB
Application Server: Glassfish or Tomcat
Server side: Spring MVC (with usage of Spring DAO and Spring Security)
Client side: JSP (With HTML/CSS/JS)
This could also be done with the MEAN stack or any other but I assume you would want to stick to Java-based technologies.
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 7 years ago.
Improve this question
I have to host a web application built using JSP, Java 6, Spring 3, Hibernate 3, mySql, Tomcat 6.
I am new to hosting a web application and have some queries:-
Can anyone please guide me on this, specially from the Spring and Hibernate point of view?
What are the issues raised during hosting/running an Hibernate & Spring application ?
Will any host providing Java hosting also provide support for Spring and Hibernate?
You may use a cloud provider for that. There are a lot. Amazon web services is the leader on the market but it's moving fast (and you have a free micro instance for one year to try). Oracle just entered the ring for example. Rakspace is a big one too and there are a lot of others.
Then you may decide between IAAS and PAAS. Basically with PAAS you don't install tomcat or mysql yourself. There you have solutions like Red Hat Openshift, Vmware Cloudfoundry, Amazon beanstalkC cloudbees, Microsoft Azure.
With IAAS, you have a virtual machine. Maybe you can start by this to move up the stack and try PAAS later.
Cloud is the future of hosting. Renting a physical machine will disappear shortly. PAAS is believed to be the future of cloud. So you should try the cloud. There are tons of tutorials on this.
There are several PaaS where you can deploy a Spring application. However, not in all of them you will have support for the same containers. CloudBees is a Java PaaS where you can deploy your application in Tomcat, Jboss, Glassfish and Jetty. You have the several containers that they support here.
Specifically for Spring you have this official documentation and also this step by step guide on a blog.
They also provide two ClickStart as an example:
PetClinic ClickStart
BeesShop ClickStart
As always... try different platforms and just choose the one which meets your needs.
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 7 years ago.
Improve this question
I just want to find a light weight framework or lib based on which rest-style service can be registered. I will use tomcat or jetty as the web server.
Is there an appropriated one?
also look at activeweb . It allows creating of resful controllers.
Loot at dropwizard too
Take a look at jooby It has a nice java8 syntax for defining routes and supports websockets too. It also has a great module system and a bunch of ready modules that range from assets preprocessing to orm integration.
Perhaps Restlet is what you are looking for. I found it's handling very easy and comfortable.
http://www.restlet.org/
Another one is Jersey.
Play framework seems like a considerable option: www.playframework.org, I'm thinking of creating my next software project in this framework.