In Spring 3 there are annotations of class @Component , @Service , @Controller and @Repository .
I know that @Component is the only one that can be used in all cases ( Controller , Service and Repository )....
Good afternoon. I would like to understand how to solve the following question:
In the project I'm working on, Backend and Frontend are separated. To persist the data I am using Hibernate and to control the connection with the DB I have a fil...
I'm trying to develop a real-time chat with the following scenario.
Online Attendant
Each user he answers is a One to One conversation
An attendant sees all the users in a list that he is answering.
When he speaks, he speaks only to...
I have a project in Spring Batch + quartz, which loads a file and then processes the file data. Only I wanted to implement a view with a form where I had the option to choose the start time and end time and the days where I could run.
Can I do t...
Description:
Spring does not convert using @DateTimeFormat , I try to send start both ways below and it returns me a 404 . When I send the object without this field it creates the normal object, but it can not create whe...
I'd like to know how I could handle the security of a stateless REST application with Spring.
Imagine that no user can access any content of /app/content if you have not first identified. Is there any way to do this without also having...
Is it possible to create multiple persistences units by connecting to different databases in the same JPA application using Spring Data? For example. I have an application that will run on MySQL normally. However, it will have to query in an O...
I have a screen where I work with jQuery Mask monetary value masks, when the user performs the submit form value returned to my controller is Ex :. 1.340,34.
The Bean attribute that bind bind is a BigDecimal . Soon I had to create...
I'm developing a web application in Spring MVC.
I have a method that returns a list (java.util.List) and needs to pass it to the view (.jsp), however without updating the page.
I would like to know some other way to pass the Java informati...
The class name containing SessionFactory is DataProvider and has the following implementation:
@Resource(name="sessionFactory")
protected SessionFactory factory;
protected Class<E> entity;
protected String tableName;
publ...