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.
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 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 3 years ago.
Improve this question
We're creating small spring MVC 2.5 add-on to confluence. Currently we are investigating group management and read/write access to specific functions of our site.
Our architecture is a bit complex and I'm still learning, however on left side we have LDAP with groups and users, in mid there is our confluence that manages mentioned groups and users, finally on right side we have spring MVC.
Is there any Confluence API that can help me to manage groups ? During search I found this, however I'm not sure is it proper or not - testing it is also hard because of deployment.
After some search and tests I found an interface that is sufficient for our needs UserAccessor.getGroupsAsList() returns all groups in confluence and helps to manage 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 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.
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
Ok
I'm new at my job, and now I'm assigned to a project which uses Spring, Hibernate and Wicket.
And I see a lot of DAO and Services packages and I want to understand why they're used and what is advantajes of this.
I understand that DAO it's need for working with the databases, but I want more information.
I need an overall, a BIG PICTURE of DAO and Services layers.
Take a look at Spring in Action. This book explains all essential aspects of Spring, DAOs and services.
So the services are set up as the API to your application. Usually this is referred to as the service layer in a N-Tiered application. The Data Access Object layer is set up to provide business rules and access to the persistent data your application will store and access. The DAO's typically store the data in a database but can also persist it in other ways. Here are some suggestions for more details on this overview:
Baeldung - Spring Persistence Tutorial
JavaCodeGeeks - One Good Think
Spring - Data Access with JDBC
Stackoverflow question - Responsibilities and use of Service & Dao layers
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 8 years ago.
Improve this question
I'm really disappointed with just about everything I find online that tries to teach the Spring Framework. This is by far the best tutorial I have found yet, because it clearly teaches how to build a simple Web application with Spring:
http://maestric.com/en/doc/java/spring
I need a few more like this to get started, but most of the answers to this question are the same -- buy the Spring in Action book. I'm sorry, but $50 is too much to swallow when all I really want to know is how do I get started building a Web application.
Are there are any good blog articles or tutorials that show a step-by-step of setting up a Web site or Web application with the Spring Framework? Video tutorials would be helpful too -- possibly something that are like those found here:
http://www.asp.net/learn/
Here are two:
Spring MVC Step By Step
Spring Finance
http://www.ervacon.com/products/springwebflow/index.html
Demo of deployed applications.
http://spring.ervacon.com/