0
votes
1answer
9 views

Spring 3.x - @Async methods not called concurrently by task executor

I'm trying to implement concurrent method invocation in my Service class. I've some methods annotated as @Async in my service class and I'm trying to call all these methods concurrently. But the ...
0
votes
0answers
10 views

What order are annotated methods called in for an annotated Controller class in Spring MVC?

so i have a couple @ModelAttribute methods, a couple @RequestMapping methods and an @InitBinder method. I know the model attribute will be called before the request mapping but which one is called ...
1
vote
0answers
10 views

Spring Testing - Inject mocked bean with nested bean dependencies

I have a Bean structure like so (but with many more levels): @Controller public class MyController { @Autowired private MyService myService; } @Service public class MyService { ...
1
vote
3answers
36 views

Calling some same methods and setting attribute in all controllers in Java Spring MVC

I have a sidebar almost in all my pages, which needs some methods and queries to get executed (say a list of cities and events in them). So basically, now I call the method and then ...
1
vote
1answer
20 views

MVC and Spring MVC Unit Testing

Can i Unit test MVC framework using Spring MVC Unit testing.. if it is possible, what setup do i need to do? I want to do only annotation testing. If it's possible. Sorry for a noob question, I'm ...
0
votes
0answers
19 views

HTML 5 Media Server

I have developed a mobile web application using the following frameworks and technologies: Server Side: Spring-Core 3.2.3 Spring-MVC 3.2.3 Spring-Security 3.1.4 Hibernate 4.2.2 Client Side HTML ...
0
votes
1answer
20 views

Spring @SessionAttribute how to retrieve the session object in same controller

I am using Spring 3.2.0 MVC. In that i have to store one object to session. Currently i am using HttpSession set and get attribute to store and retive the value. It returns only the String not ...
0
votes
0answers
21 views

Spring MVC controller inheritance with spring security

I'm trying to create a generic controller using spring mvc 3.2.3 and spring security 3.1.3. What i'm trying to achieve is something like this: public abstract class DataController<E extends ...
0
votes
1answer
14 views

How to get logged user name/Principal in Spring MVC REST channel?

I have Spring MVC REST channel: @Controller @RequestMapping("/rest") public class REST { and I have my method: @RequestMapping(value = "/doSomething") public @ResponseBody DoSomethingResultDTO ...
0
votes
0answers
16 views

Get SOAP request as XML in Spring MVC

I need to get the XML Soap request coming to a url on my server. I wrote something like @RequestMapping("/SomeService") @ResponseBody public String index(@RequestBody String request) { ...
-3
votes
0answers
17 views

how to save images in the folder of netbean tool? [on hold]

in the project of the Spring, the folder "images" can not storing the images. please if you have any idea about the netbeans tool to how to store the images in the folder.
0
votes
1answer
22 views

How to maintain a unique timezone across web application

I have requirement in my enterprise web application to maintain a unique time zone (say EST). All the timestamp what we display and store in database should be in EST only. I am using Spring ...
0
votes
0answers
28 views

How to integrate POS device to Java application

I have written a spring application where I have put restful web service which accept XML/JSON request response. My application will be capable of processing payment. Now I want to extend it with POS ...
0
votes
1answer
39 views

How to establish communication between 2 restful apps?

I have two webapps that were designed to expose restful services via JSON, being both written in Java using SpringMVC + Jackson. The first app works more like a proxy, and just forwards requests to ...
0
votes
2answers
43 views

How to return a text file with Spring MVC?

@RequestMapping( method = RequestMethod.POST, value = DataController.RESOURCE_PATH + "/file", headers = "content-type=application/json" ) @ResponseBody public void export( @RequestBody JSONObject ...

1 2 3 4 5 344
15 30 50 per page