design 2 « Development « Spring Q&A





1. Design best practice    forum.springsource.org

Design best practice Hi I don't have enough experience in Spring AOP although I been using Spring for over 3 years. My Issue is regarding a design best practice I have ...

2. What are the Most used design pattern?    forum.springsource.org

Hello, Aside from Strategy pattern, I would like to know from you what are the most used patterns in the stack Spring+JSF+Hibernate and that I have to implement (not the ones ...

3. coding error or it maybe a design error -PLEASE TELL ME    forum.springsource.org

coding error or it maybe a design error -PLEASE TELL ME I am new to Spring and I have a coding error or it maybe a design error? You tell me. ...

4. Your thought on an Interactive UI Design    forum.springsource.org

Your thought on an Interactive UI Design I have this Spring application built with Spring MVC. Here is a situation I need to get some sort of brainstorming. When a user ...

5. Design question    forum.springsource.org

Design question I would like to ask a basic design question. i have 2 entities associated with my application ROLES and PROJECT. the administrator has the right to add/update/delete these entities. ...

6. Design question    forum.springsource.org

Design question I'm new to Spring and have researched but not found an answer to this yet. My client has 10 read-only screens to be implemented as JSPs. They all display ...

7. Spring Design Issue - ApplicationContext - Need help    forum.springsource.org

Hello All, We have a MVC Architecture with Controllers, Application Services and DAOs. Our Architectural guiding principles: 1. Controllers are in the Web Tier where HTTP Request, Response and Session objects ...

8. Problem getting JSP resources to resolve (possible design problem)    forum.springsource.org

Problem getting JSP resources to resolve (possible design problem) I'm building a web application using Spring and I've recently run into a problem where resource links in my JSPs (CSS, javascript, ...

9. Am I making a design issue? or is this right?    forum.springsource.org

Am I making a design issue? or is this right? I have a very easy project but i am new to Springs: The user enters a account number and I bring ...





10. Design Issue    forum.springsource.org

Code: public class CreateUserController extends SimpleFormController { @Override protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception { // TODO Auto-generated method stub System.out.println("Inside create user controller"); //RequestDispatcher ...

11. Newbie Design Question    forum.springsource.org

Newbie Design Question Hi - I'm very new to Spring and want to make sure I've understood things correctly. I have a servlet which receives XML over HTTP and, depending upon ...

12. How to load data during startup - design question?    forum.springsource.org

How to load data during startup - design question? I am new to tomcat and spring, so thanks in advance for being polite. I will have to parse a fairly large ...

13. Design questions    forum.springsource.org

Design questions Hi All, I have some design questions about an advertisement web application that I am working on. It's based on spring core/mvc, ibatis, postgre db, eclipse Europa. Other tools ...

14. Portal Design    forum.springsource.org

Portal Design Hi I am designing a portal with about 300 pages. 20% of these pages have static content and the rest display dynamic content. Traditionally, we would have one controller ...

15. Design By Contract (DBC) - is it any good?    forum.springsource.org

Design By Contract (DBC) - is it any good? Hello, I started to reconsider applicability of DBC in real applications and was somewhat stunned as I was unable to imagine any ...

16. Question about design    forum.springsource.org

Question about design I got couple of questions: 1) I will have a page with one text box where user will be able to enter a warehouse number and click on ...





17. Design decision: do helper classes need to have interfaces?    forum.springsource.org

Design decision: do helper classes need to have interfaces? A scenario that I'm frequently wondering about: Let's say I am implementing some functionality as a spring managed bean: Code: class FunkyReportOperationDoer ...

18. Design decision: declarative caching on one method    forum.springsource.org

Design decision: declarative caching on one method I have a service class like this: Code: class FooService { List findAll(); Foo getFooBasedOnComplexRules(int someParameter) { for (Foo f: findAll()) { if (f ...

19. Domain Driven Design and Spring RCP    forum.springsource.org

Sol Though I don't know anything in particular about ListSelectionDialog, I think this is one of those cases where you just have to bite the bullet and add getters/setters to your ...

20. Application Design Question    forum.springsource.org

Application Design Question Hello all, I want to build a portlet application using Spring 2.0. I have following problem on which I need advice/solution. 1. I will prepare jar which should ...

21. What is the design pattern that returns implements of an interface with a parameter?    forum.springsource.org

Im wondering what the correct design pattern Im looking for is, I have a string identifier, and I need a method that returns a specific implementation of an interface depending on ...

22. Design question    forum.springsource.org

I'm not try to picking on you (seriously), but don't you think that if you're going to ask a question like that you should also tell us the "rationale" behind it, ...

23. ReflectiveMethodInvocation.proceed() changed behavior in Spring 2.5.1 ...as designed?    forum.springsource.org

ReflectiveMethodInvocation.proceed() changed behavior in Spring 2.5.1 ...as designed? It seems that the ReflectiveMethodInvocation.proceed() method changed behavior from Spring 2.0 to Spring 2.5.1. Here's what's going on... I have a a pre-interceptor ...

24. Domain Object Design    forum.springsource.org

Domain Object Design I'm deep in my first Spring/Hibernate project and have a question regarding domain object design. I first designed our datamodel, wrote the hibernate mappings, and then built a ...

25. Domain driven design in Spring DM    forum.springsource.org

Apr 11th, 2008, 11:24 AM #1 volvin View Profile View Forum Posts Private Message Junior Member Join Date Nov 2006 Posts 10 Domain driven design in Spring DM Hi, We are ...

26. Domain Driven Design, Implementations and Testing    forum.springsource.org

Domain Driven Design, Implementations and Testing Hello, I'm working on reorganizing my project. I think I've decided on the following structure: application web (WAR) facade/service/api (JAR) common-services (JAR or multiple JARs) ...

27. Design patterns in springs    forum.springsource.org

Hi all This is rajesh am new to springs framework . can anybody please tell me the list of design patterns that are used in springs framework

28. Design suggestions    forum.springsource.org

Design suggestions Hi, I'm building an application that will read files, process them and store a modified version of each file. Preferably, I would like this application to run until someone ...

29. Please help with design-issue    forum.springsource.org

Hello, I have a request-scoped bean that retrieves a parameter from the browser. I want to subsequently use that same parameter in order to instanciate a session-scoped bean and I do ...

30. Class design request for comments    forum.springsource.org

Class design request for comments Hello, I've created a service package in Spring. There are a few classes. But I wonder if I'm doing it the Spring way... So here is ...

31. spring design analyzer    forum.springsource.org

Hello there, has anyone heard of analyzer capable of detecting UML patterns (and anti-patterns) by parsing spring xml config files along with java source? we are trying to implement automated design ...

32. Design pointers?    forum.springsource.org

Design pointers? I'm working on my first spring-batch app and am trying to figure out some best-practices. I've read through the reference documentation and that has helped me make some progress ...

33. Data common to all pages - Design Pattern question    forum.springsource.org

Data common to all pages - Design Pattern question I'm going to post this question which I'm sure has been a common problem, unless I'm looking at it completely wrong. My ...

34. JPetStore Design Question    forum.springsource.org

JPetStore Design Question Hi Springers, I have recently inherited a Spring project that is pretty much modeled after the JPetStore but on a much grander scale. Upon reviewing the code, I ...

35. (Hopefully) simple design question    forum.springsource.org

(Hopefully) simple design question Hi I hope someone can give me some advice on a design issue. (I apologise in advance for the length of this post - its probably a ...

36. Distributed End-Point Design ( Custom Protocol )    forum.springsource.org

Hi - I am looking at designing a distributed end-point mechanisms, where objects are written onto a stream ( ObjectOutputStream) onto the channel and the channel end-points would be present in ...

37. What does SCA bring to a design using Spring?    forum.springsource.org

I've been using Spring for several years. I recently looked at Tuscany and SCA. I looked at the Tuscany 10 minute tutorial. I haven't spent much time studying it but I'm ...

38. is this design for remote lazy loding ok?    forum.springsource.org

is this design for remote lazy loding ok? I'm designing a client/server application that uses JPA and RMI. On the server I bind in the rmiregistry a DAOFactory remote object used ...

39. Composite Reader design ? with file header, orders, and file footer    forum.springsource.org

Composite Reader design ? with file header, orders, and file footer I'll explain my situation in the context of my modified spring-batch-samples (MultiLine OrderJob). File Format - Multi-line fixed width as ...

40. Multi-step design question    forum.springsource.org

Multi-step design question Greetings again, I've successfully completed the implementation of a batch job that loads my input, and it works great, and it's more than speedy enough to handle the ...

41. Design Flow    forum.springsource.org

Hi to all, Can you please help in designing the document for spring batch project.my task is ---read the data from database ---take it into XML(gentrate XML for every Customer in ...

42. Design of command objects    forum.springsource.org

Design of command objects Hi. Assume I can't use my business object as a form command because there are some UI requirements (for example password confirmation, list of checkboxes which represent ...

43. Appication design advice/best practices    forum.springsource.org

Appication design advice/best practices Hi Folks, I need some help from you guys here..I am working on a traditional project that is using JSP/servlets. I have a new requirement and I ...

44. MailService Design    forum.springsource.org

MailService Design Hello all, here's the code that I use to implement a very small mailer service: Code: @Override public void sendMail(final String from, final String to, final String subject, final ...

45. Please check my URI design    forum.springsource.org

Please check my URI design Hello, I'm designing the URIs and navigation around my site. I have some maintenance to do on a parent and child relationship. I want to use ...

46. Newbie to SpringBatch - Design    forum.springsource.org

Newbie to SpringBatch - Design We are in the process of designing a batch application for a large investment bank, being a newbie to spring batch I would like consult batch ...

47. Anemic Domain design question    forum.springsource.org

Anemic Domain design question Here's a design question that I've been wrestling with. Let's say that I have a set of domain objects, some DAO classes, some web controller classes, and ...

48. daoFactory design issue    forum.springsource.org

daoFactory design issue Hi Guys, I'm using Spting 2.5 along with ZK for Presentation layer. I have got a lot of DAOs, 44 to be precise to deal with. My question ...

49. design question request reply    forum.springsource.org

design question request reply I have a general design question. Hoping someone can point me to an appropriate pattern or example. An inbound jms message is received that represents a batch ...

50. Missing imports in Spring XMLs at design time    forum.springsource.org

Hello, I am using Spring configuration XML files in my code. From various reasons, I relocate these XMLs prior to loading the context. This works just fine in my code. However, ...

51. Practical DDD: to inject into domain objects, or not to inject?    forum.springsource.org

Practical DDD: to inject into domain objects, or not to inject? Hi, I'm investigating the merits of the DDD approach, by applying it to a pet project. I want to find ...

52. SqlMapClientDao Design question    forum.springsource.org

SqlMapClientDao Design question I asked this quesiton on SO as well but got no response. So asking here in pursuit of a better and effecient design: We use Spring + iBatis ...

53. Referencing Aggregate Roots in DDD    forum.springsource.org

Referencing Aggregate Roots in DDD I have a question of how i can reference Aggregate Roots from other objects when using a domain driven design. Here is my problem I do ...

54. how am i design a spring form buttons using Dojo.?    forum.springsource.org

55. Why is there Interception Advisor in your Design?    forum.springsource.org

Hi Rod, What is the significant of the Interception Advisor in your design ? Aspect does contain the Advice and PointCut , so I can understand the PontCut Advisor in your ...

56. Web page design view for JSP & HTML    forum.springsource.org

57. Design Questions    forum.springsource.org

Design Questions Ok, I have some general 'best practice' type questions for you guys/gals. When you create a data access layer, do you create it in it's own project (and if ...

58. Does Spring Dependency Injection use Strategy design pattern?    forum.springsource.org

Hello every one, I am very new to Spring Framework. Can anyone tell me does Spring DI use Strategy design pattern? if not, does that mean Spring DI is a new ...