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
I have developed a set of Web services in Jersey which I am now accessing through a Jersey client application. However I would also like to have a Web UI for human users to access the Web services. Some of the interfaces will also need to use Google maps. I would like some advice on which is the best framework to use with Jersey for building these Web UIs that can get me quickly up and running. Preferably I would like to use template based solutions for generating HTML pages if possible.
Jersey comes with a simple MVC framework built-in. It has built in support for JSPs which you could leverage...
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 2 years ago.
Improve this question
I am using Spring Batch to process CSV files as a batch process and SFTP adapters (Spring Integration) to download and upload files. Found Spring Documentation very helpful. But I am a little bit confused and curious about their best use cases.
So far my understanding, a monolith application can be broken down and integrated with another external system (FTP, email, queue, etc) using Spring Integration. What are the other use cases? Should I use Spring Batch with Spring Integration? What are the best practices?
Can anybody help?
There are no "best" use cases, it depends on the context. There is a whole chapter about how to use Spring Batch and Spring Integration together here: https://docs.spring.io/spring-batch/docs/4.2.x/reference/html/spring-batch-integration.html#springBatchIntegration.
I will let you decide when it is best to use them together depending on your requirement.
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
Well,I need to develop a web application with sql server so I choose spring boot Framework ,but the question is Can I use this Framework for both front and back end .
If not ,why ? and which technologie to add?
Also if you can help me with applications demo or tutorials in springBoot
Yes. The documentation fully covers this, look at the WebMVC section of the Spring Boot Documentation: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-spring-mvc
Out of the box it supports several template engines, I prefer Thymeleaf if I'm doing an all-in-one app. Here's a good demo for using Spring Boot with Thymeleaf: https://spring.io/guides/gs/serving-web-content/.
Also, if you decide to use this, read the documentation on Thymeleaf at https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html, it's an incredibly powerful templating engine and has a lot of features.
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 want to create a software about sports and nutrition and I am trying to create a multi-module project with multiples environments.
First , I would like to create six modules ,nutrition , sports , healthy , this modules has a backend and frontend that they consume a restful webservice.
So , the structure of the project I am thinking is the following (This modules will be more subdmodules)
-back-sports
-back-nutrition
-back-health
-front-sports
-front-nutrition
-front-health
-authentication
-authorization
-rest-api
I am not sure how to consume the rest api , but I am sure that I will be use JavaScript(This is the next step to think)
The part of the rest api will be : Jersey , Spring/POJO , JPA/Hibernate.
Database : MySQL
What is better ? Separte the module rest-api in another project or not.
Regards !
You can have rest-api as separate module, you just "inject" services from bussines modules, so rest api module will just expose those services to the rest transport layer.
Btw if you use spring boot you have security already in.
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 7 years ago.
Improve this question
What is the best choice for deploying a Spring 4 application?
Servlet container (e.g. Tomcat)
Application server (e.g. Wildfly)
I do not like to start a flamewar. Since there is no similar question, I would just like to know the advantages and disadvantages of both approaches.
As a simplification/generalisation, as I understand Spring offers developers much of the functionality of Java EE, but with out the need for a full application server. As a full application server is not essential and a container server such as Tomcat will suffice (more details on the distinction between Spring and Java EE can be found here: Difference between Java EE and Spring framework) it might be a slightly fairer comparison to consider TomEE as this might have the overhead of a full blown application server if you're considering performance.
This article might be of interest: http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-jboss-as7-aka-wildfly/ , although it is a year or two old and compares JBoss 7 to Tomcat. Whilst the article might not be conclusive enough for you the comments might give you some 'food for thought'. The general finding of the article is that if you require performance and support for standards, and a more aesthetically pleasing administration interface for, then JBoss might might take your fancy.
There is also the following article that will be of interest, but compare a few other options (http://zeroturnaround.com/rebellabs/the-great-java-application-server-debate-with-tomcat-jboss-glassfish-jetty-and-liberty-profile/).
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 4 years ago.
Improve this question
I am working on making Jersey web services available using OAuth2 to other clients and am having a tough time finding libraries that tie in nicely with Jersey. So far I have looked at the following libraries.
http://static.springsource.org/spring-security/oauth/support.html
We got the demo working, but do not want to use spring security.
https://labs.ericsson.com/apis/oauth2-framework/downloads
This is tied tightly to RESTLet.
http://wiki.apache.org/incubator/AmberProposal
We looked briefly, but it hard to tell the status of the project.
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home
We just started looking at this one as well.
The main goal we have is simple integration with Jersey as a Resource Provider.
We ended up using Amber, modifying the endpoints from the integration tests as needed.
oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/