Questions tagged [Spring] (623)

1
answer

What would you recommend to read on spring?

It is possible both in Russian and in English. Are there any decent book or should I read the official docks?
elouise_Paucek asked October 10th 19 at 15:06
2
answers

Using JSON in Spring MVC

Need advice on using org.springframework.web.servlet.view.json.MappingJacksonJsonView to render model in JSON format. Read a bunch of articles and posts on the forums, but never got to tie the mapping to the Spring — after deploying the app crashes with exception: Сould not instantiate bean class [org.springframework.web.s...
Brain_Deck asked October 10th 19 at 13:02
2
answers

The version of Spring

Hello! Gave recently a small task for writing web applications in java. In the job that fulfil a need for spring versions >= 2.5. Experience writing web applications almost no. Is that touched struts in past years. Don't tell me what spring should start studying and which of them to do the job? PS Searched in the Int...
Laron.DuBuq asked October 10th 19 at 03:08
0
answer

Spring RCP vs Netbeans RCP, what to choose?

Good day, has anyone used any of the above? If so, what are the advantages and disadvantages?
yesenia70 asked October 9th 19 at 16:18
0
answer

How to teach IDEA to use Springview Resource s?

There are springby config: src/main/resources/some-spring-config.xml <!-- ... --> <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreResourceNotFound" value="true"> <property name="locations"> <list> <value&g...
Broderick.Lowe asked October 8th 19 at 05:46
0
answer

Spring Security, handling of exception in UserDetailsService

At the moment trying to get to work Spring Security with Mongodb. And everything works, except that if the user is not in the database, instead of a message about this exception falls 500 (AuthenticationServiceException) that I actually called. In case of successful match the user name and password go to default-target-url...
Glenna_Harber36 asked October 8th 19 at 02:29
1
answer

How to get hostName in Freemarker?

There is a project for SpringMVC. As a templating engine is Freemarker. On one of the pages you want to insert the full link, that is, with a domain. In jsp it can be solved by inserting ${request.getServerName()}. In freemarker the same code is not working. You can still calculate the host name in the controller and pass ...
kamron.Macejkovic93 asked October 8th 19 at 01:12
1
answer

Is there a CMS on the basis of the Spring with the possibility of further improvement?

Is the idea to deploy on Amazon web service. The main functionality will be to use AWS, respectively, will be used by the AWS SDK, there are no questions to be slopes, but the backbone of the site do not want to write from scratch, I want to take CMS to the basics and to it to fasten the desired functionality. So there is a...
rogelio83 asked October 7th 19 at 16:04
1
answer

SMTPSendFailedException or how to deal with overload

Actually write the service of sending messages in the mail. Write using Spring Mail. Since a newsletter can be very large run it in several threads. However, sometimes not all posts otpravlyayus, motivirati com.sun.mail.smtp.SMTPSendFailedException: 421 4.7.0 Temporary System Problem. Try again later (WS) I understand th...
Brandon_Koepp asked October 3rd 19 at 08:50
5
answers

Spring. Why the need for a service layer?

All of the guides give this project structure: In the same Gayda looking at the code shows only that the service layer completely duplicate DAO. Why still need this layer? How to use it properly?
Deven94 asked October 3rd 19 at 08:15