Can we developp a web application with SpringBoot? [closed] - spring

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.

Related

Advantages/disadvantages of deploying a Spring 4 application [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 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/).

Good sample spring and hibernate web application book? [closed]

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 am searching for book which have examples in enterprise web application with Spring (IoC, AOP, MVC, web services), Hibernate and JBoss. I am searching for just examples and explanations how this technologies works together and I am looking more for the backend parts like beans aop and web services (why to use jboss or just tomcat). I dont have lots of time but something like 300-400 pages is ok just to understand basics and see some real world examples and usages of this technologies. The best will be if I can found book with single big web application and usage of all of these technologies together (Spring IoC AOP web sevices, Hibernate, and JBoss).
I can recommend Spring in Practice (manning.com/wheeler) and Spring in Action (Walls). Former book is more a practical guide and probably best answer to your question, but Spring in Action will give you more of background information. Spring in Practice lacks a unittesting which is a serious ommision in my opinion.

Can we extend Spring source code when working for a commercial app? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I always have used Spring Framework classes as-is.
However I am thinking of customizing the Spring-WS (WebService) behavior by extending its WebServiceTemplate class.
The WebServiceTemplate currently offers only 'sendAndReceive', but I want to make it do only a 'send'. And then a separate thread do a 'receive'. (This is being done to mirror existing work flow that relies on Messaging).
So I was thinking of extending the class..
What sort of things do I need to be aware of, before extending from an Open Source code, for a commercial app? Also, Am I free to use the source code and copy it as need be?
UPDATE:
Looks like Spring uses same license as Apache
http://www.apache.org/licenses/LICENSE-2.0
Spring-WS use Apache License. You are free to modify and use in commercial project. There are some restrictions (e.g., you can't use the Spring trademark), but this should be ok for most projects.

Best Web UI development framework for Jersey Web 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 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...

Suggestions for OAuth2 libraries for integration with Jersey? [closed]

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/

Resources