-3
votes
0answers
93 views

Switch career from Java to big data - confused :/ [closed]

I need some information to take a decision which matters a lot to me. I know this is a bit lengthy and I request you to read through it. Currently I am working as an application developer with the ...
0
votes
1answer
57 views

Is Spring Source Tool suite required for J2EE application development? [closed]

I am following a tutorial. The guy keeps on adding different plug-ins such as subclipse, maven, spring source tool suite, etc after setting up jdk, eclipse, tomcat. While installing spring, he was ...
8
votes
3answers
371 views

Which classes should be autowired by Spring (when to use dependency injection)?

I have been using Dependency Injection in Spring for some time now, and I understand how it works and what are some pros and cons of using it. However, when I'm creating a new class I often wonder - ...
1
vote
1answer
81 views

Implementing an interface from a framework vs simple java interface

This concept is unclear with me. I have worked on several frameworks for an instance Spring. To implement a feature we always implement some interfaces provided by the framework. For an instance if ...
0
votes
0answers
122 views

Generic/Dynamic objects in JSF

I'm starting to learn JSF and I was wondering how could I implement the following: I have an instance of Spring that contains several beans for logical and database operations, for example I have a ...
1
vote
1answer
728 views

Separating front end from back end - Tomcat

I'm currently working with a company that uses Java / Tomcat / Spring for the back end of our web applications. As a front-end developer, I'm feeling more and more strongly that the back end should be ...
0
votes
0answers
38 views

Modularization of application [duplicate]

I am creating an application that will track different things on relating to a given farm. When I started to look at what I was going to create I saw that some parts of the application infact could be ...
-2
votes
0answers
138 views

Modularization of application [closed]

I am creating an application that will track different things on relating to a given farm. When I started to look at what I was going to create I saw that some parts of the application infact could be ...
0
votes
1answer
577 views

What is bootstrap listener in the context of Spring framework?

I am studying Spring framework, in web.xml I added following which is a bootstrap listener. Can anyone give me a proper idea of what is a bootstrap listener? <listener> ...
0
votes
0answers
192 views

Rest API + Java. Scala, Hadoop + JavaScript Client : Deployment & Project Structure

Looking for inputs & best practice for new project : Client side : JavaScript (probably AngularJS supporting tools) Server-side & Rest API's : Java, Scala, Hadoop, Spring MVC 3 and other ...
-1
votes
1answer
170 views

Options for implementing aggregate message processing [closed]

I am developing a web service in java that requires to do an asynchronous call to a 3rd party app by aggregating about 100 requests or for a minute (whichever happens earlier). Is there any open ...
0
votes
1answer
99 views

BlazeDS: Server DTO method naming convention

I have the following field in Flex: [Bindable] public var zIndex:uint; And I was trying to create the methods to process the calls in Java and I ran into a problem. 1. public int getZIndex(); // ...
3
votes
1answer
2k views

Multi-module web project with Spring and Maven

Assume we have a few projects, each containing some web resources (e.g., html pages). parent.pom +- web (war) +- web-plugin-1 (jar) +- web-plugin-2 (jar) ... Let's say web is the ...
7
votes
4answers
948 views

Spring - Confusion over configuration?

Somewhere I read Spring offers convenience over configuration. But Spring folks are bringing in so much changes over the configuration , that I am now really getting confused to use the xml ...
-5
votes
1answer
1k views

Singleton: Is Singleton an Anti-Pattern [duplicate]

Was reading an interesting blog post on Singleton design pattern which is so widely used. If it's stupid or as in some quora posts, its an anti-pattern why is it so widely used even in frameworks. ...
2
votes
2answers
746 views

Which is simpler for REST client call to return JSON - JQuery/JavaScript or Spring RestTemplate? [closed]

I've been trying to hack up an annotated Spring MVC web app but it's proving pretty hard to call a URL of my web app which fires a request to a remote API (UK Police data) and recieves a reply which I ...
4
votes
2answers
197 views

Should I make package private my DAO interfaces?

I have several DAO classes that implement an interface. In the other hand, I have Service classes that use those DAO implementations. So far all the DAO interfaces are public and I was thinking if ...
-1
votes
1answer
774 views

How to do transaction management using Spring without Annotation?

I'm using Hibernate4.2 and Spring3.2 and I m doing transaction management using Spring without annotation (i.e. without @Transactional). How can I use Spring-transaction management without annotation ...
1
vote
1answer
728 views

Handling error message for a Spring MVC login form

This can apply to many error handling scenarios, but I'm curious about how to do it in a login scenario. Given this Spring controller method: @RequestMapping(value = "/account/login", method = ...
2
votes
2answers
442 views

Should my login logic be part of the controller or a service in MVC webapp

I'm using Shiro as my security manager for a Spring MVC web application. The login basically happens in these lines: Subject user = SecurityUtils.getSubject(); user.login(new ...
2
votes
2answers
301 views

Web application (Spring, JSF) forks, how to reuse existing code for subprojects?

my question is going to be somewhat philosophical and "architectural oriented" so bear with me. Right now we have existing Java web application built on top of Spring and JSF(facelets) with maven. ...
2
votes
1answer
4k views

How to start learning Spring framework with all its associated functionalities? [closed]

I am going to delve into the nuances of Spring. I have a little information about this framework. So I am not going in blind. But still I will like to start it as a beginner and then move up the ...
3
votes
2answers
427 views

Need advice on framework design: how to make extending easy

I'm creating a framework/library for a rather specific use-case (data type). It uses diverse spring components, including spring-data. The library has a set of entity classes properly set up and ...
5
votes
3answers
2k views

When not to use Spring to instantiate a bean?

I am trying to understand what would be the correct usage of Spring. Not syntactically, but in term of its purpose. If one is using Spring, then should Spring code replace all bean instantiation code? ...
1
vote
4answers
6k views

Do I need to know servlets and JSP to learn spring or hibernate or any other java web frameworks?

I've been asking a lot of people where to start learning java web development, I already know core java (Threading,Generics,Collections, a little experience with (JDBC)) but I do not know JSPs and ...
2
votes
1answer
488 views

Why this code create object as interface?

In am reading Spring in Action (3rd edition) and here a snippet from it: ApplicationContext ctx=new ClassPathXmlApplicationContext("springidol.xml"); Performer ...
0
votes
1answer
301 views

What Exactly is a Model Relative to the ModelAndView Class in Spring

What exactly does the "Model" part mean? Is it the same as the domain model? I've read that it's a map, but I'm having a hard time understanding the concept.
0
votes
1answer
1k views

Best practice for creating views in spring and hibernate web application

Hi I am currently developing a web application in Spring and Hibernate where i have several different tables. The Delivery table for example is mapped many-to-one with the Customer table and the ...
4
votes
3answers
4k views

Heavy use of static methods in a Java EE web application?

Generally I am asking if this is a norm. The application architecture includes spring and the zk framework. I personally can't help but think this introduces a number of problems. I mean...this is a ...
2
votes
2answers
273 views

Replacing dao layer

I am developing a series of webservices (based on spring and spring mvc). For the first time in my dev career I do plan on replacing the dao layer in the future(I have always seen it mentioned but ...
0
votes
2answers
793 views

Creating webservices using spring-mvc. One project or multiple projects

Using spring mvc to create a restful api, Maven is build tool and tomcat with spring jars is deployment . Plan A: each webservice will be its own separate war file/project ? if required I would ...
4
votes
1answer
7k views

Where to put Spring configuration file?

I want to integrate Spring framework in my project especially into server side. So, I don't want to put it within WEB-INF folder of war file. Should I put an applicationContext.xml it into each ...
4
votes
2answers
5k views

Is Spring + Hibernate prefered instead of EJB 3?

It is my perception that whenever new JEE projects start (where these technologies would be applicable), people prefer to use a combination of Spring + Hibernate instead of EJB 3. It seems junior ...
5
votes
1answer
559 views

Attachment handling for web application with Jackrabbit

I need to manage attachments on my Spring web application and I thought to use an open source repository. My app it's a job approval system using J2EE / SPRING 3 Framework and Postgress DB to allow ...
5
votes
2answers
2k views

Write Unit test for heavily-database application? [duplicate]

I'm currently developing a Spring-based web-application, in which almost every operation create/update/delete something in the database. The logic mostly about checking condition so as to we should ...
5
votes
1answer
513 views

How to move to Java enterprise development after Python and Ruby?

I used to develop in Django/Python and Rails/Ruby (and before that C/C++ and C#), and I'm now at a job where we do enterprise Java development (Spring, Hibernate, RESTEasy, Maven, etc.) for web ...
0
votes
1answer
143 views

Multiple possible jsp views for a request

I'm looking to offer the user some way of changing how a single page looks based on some pre-defined jsps. i.e. Two or more jsp's contain similar information, and would be backed by a single ...
4
votes
1answer
725 views

Programming in academic environment vs industry environment [duplicate]

Possible Duplicate: Differences between programming in school vs programming in industry? This is a general discussion about programming in the industry environment. The background story is ...
5
votes
3answers
890 views

Tools for managing a complicated project setup with many frameworks and no documentation

We have to extend a huge java project that makes use of frameworks like maven, spring, struts, freemarker and closure templates. We do have access to source code but barely any documentation, and we ...
0
votes
3answers
357 views

Java developing server-client solutions [duplicate]

I am trying to get a job as Java developer. I have been developing web pages with Java for a while, but now trying to go to another path and develop server-client solutions. In this specific company ...
71
votes
6answers
59k views

What does the Spring framework do? Should I use it? Why or why not? [closed]

So, I'm starting a brand-new project in Java, and am considering using Spring. Why am I considering Spring? Because lots of people tell me I should use Spring! Seriously, any time I've tried to get ...
3
votes
1answer
1k views

Why is spring so good for Java middleware development?

I'm planning on doing some Java web development in my spare time to learn a new set of programming skills, and just want to survey opinion on why Spring is so good for middleware development? What ...
3
votes
3answers
424 views

infrastructure software/technologies for developing web service

[Edit: Thanks S.Lott for the hints] I'm developing a web service from scratch. The service could have potential of 10,000 requests a day. Actually, to be honest, requirements aren't that clear at this ...
23
votes
7answers
10k views

Why not Spring framework?

Are there any disadvantages in tying my application to Spring framework? I'm not talking about bugs or issues like that, if any. I'm talking about strategic, architectural things that will influence ...
3
votes
1answer
2k views

Example of an open source project using Spring

I'm trying to learn a bit about the Spring framework and I'm wondering if anyone can recommend an open source project using it so that I can have a look through the source. Any other recommendations ...