Business « Development « Spring Q&A





1. Validation framework for business app built on Spring 2.5    stackoverflow.com

What could the best strategy for writing validation layer for mid-enterprise level business application built on Spring 2.5 I know that Spring provides facility where we can implement Validator interface and write ...

2. Separation of Presentation and Business Tiers with Spring    stackoverflow.com

In my just-completed project, I was working getting distributed transactions working. We implemented this using JBoss's Arjuna Transaction Manager, and Spring's declarative transaction boundaries. Our request sequence looked like:

browser -> secured servlet -> ...

3. Real life business case for using spring method replacement?    stackoverflow.com

Spring IoC container gives you an option of replacing a method of a bean. Can someone provide a real life example of using this feature to solve real life ...

4. Spring formBackingObject, Business Object Creation, and Factories    stackoverflow.com

Design question for using Business Objects as formBackingObjects in a Spring SimpleFormController. Our controller's responsibility is to allow an End User to add a new Business Object to our web application. So we ...

5. Using Interceptors in Spring for Business logic concerns    stackoverflow.com

I am new to working with Spring on regular basis so I had a basic design question on it. Should the concept of interceptors be used for separating out business logic in ...

6. best practice for presentation layer (wicket) and business logic (spring) communication    stackoverflow.com

i want to develop a business application with wicket for the presentation layer and spring/hibernate core for business and data layer. the presentation layer and business layer gonna run on diffenent physical ...

7. Error creating context 'spring.root': Error creating object with name '' defined in 'assembly , resource [DMS.Business.Component.SpringServices    stackoverflow.com

I'm using .Net 4 along with Spring Framework v1.3.1.40711, and NHibernate as ORM v3.0.0.4000, to implement a web application. Until here every thing is working fine, along with the web application ...

8. Business objects dependends of other persistent BOs    forum.springsource.org

Business objects dependends of other persistent BOs Hi. Im with troubles here defining the were to put some business logic. I have an Scheduler business object, and it have a collection ...

9. Business Layer for Web Applicatin projects    forum.springsource.org

Business Layer for Web Applicatin projects Hi all, We generated a web project using Spring Roo. It's pretty awesome since a lot of work is done automatically. I now was wondering, ...





10. Generating web URL from business layer    forum.springsource.org

Generating web URL from business layer I need to send emails after certain events in my application, and in those emails include a URL that points to an application URL. For ...

11. Business Logic goes where?    forum.springsource.org

Business Logic goes where? I may be thrown by SpringRoo's use of AOP, or the lack of a services layer, but I'd really like some actual examples of taking a SpringRoo ...

12. Thoughts on architecting Business Logic    forum.springsource.org

I have observed a number of fundamentally different approaches for implementing business logic. Some advocate a services layer, others advocate adding logic to domain objects. I have not yet read anything ...

13. Business objects = pure POJOs?    forum.springsource.org

Business objects = pure POJOs? I'm working on a web application at the moment, using Struts, Spring and Hibernate, and trying my best to follow current thinking on how to approach ...

14. Testing business logic outside of the servlet container    forum.springsource.org

Testing business logic outside of the servlet container I'm faced with the following question : I would like to do extensive testing on my service objects , and i'd like to ...

15. What business interface is HttpInvokerServiceExporter??    forum.springsource.org

What business interface is HttpInvokerServiceExporter?? I am getting this exception while trying to invoke a service, I just wanted to know what business interface its using so i can debug it. ...

16. Difference between Business and Domain layer    forum.springsource.org





17. About business layer : manager and domain    forum.springsource.org

About business layer : manager and domain Hello, I've read some interesting thread on this forum. Lot's of spring users agree that business domain "sub-layer" should not only include property objetc ...

18. Binding to business domain objects    forum.springsource.org

Binding to business domain objects Is it ever a good idea to bind directly to business domain objects? My answer so far: NO, except for trivial cases where you have a ...

19. Multiple business layer calls    forum.springsource.org

Multiple business layer calls I'm using Spring declarative transactions for POJOs. Calls to this business layer are local so I don't feel neccessary to write "do all stuff and return many ...

20. Separate Web Tier and Business Logic tier.    forum.springsource.org

Separate Web Tier and Business Logic tier. Hi all, I'm trying to understand how I might put together an application where I have a number of web applications which all need ...

21. Injecting business objects into other business objects ?    forum.springsource.org

Injecting business objects into other business objects ? Hello I'm having troubles applying my domain model design choices into Spring architecture, and I'm hoping one might give me enlightening ideas In ...

22. ApplicationContext in Business Objects    forum.springsource.org

ApplicationContext in Business Objects Can someone give me some best practices for obtaining an ApplicationContext from within a Business Object. I have a struts web application which leverages the ContextListener stuff, ...

23. Confusion on a Business Delegate example from Spring Ref    forum.springsource.org

Confusion on a Business Delegate example from Spring Ref Confusion on a Business Delegate example from the Spring Reference Documentation 1.2.1 On page #183, the example talks about setMyComponent(MyComponent myComponent){} on ...

24. separated business logic and Spring    forum.springsource.org

Hello, I newbie in Spring and I am wondering if Spring is good choice for me. I need to write business logic which will be runing on separated server through web ...

25. spring:bind a list of business object on form submission    forum.springsource.org

spring:bind a list of business object on form submission I have a list of Business objects in my Business object that I am displaying on the jsp as a drop down, ...

26. Testing Business Objects    forum.springsource.org

Aug 15th, 2005, 01:39 PM #1 jopaki View Profile View Forum Posts Private Message Member Join Date Aug 2005 Location San Francisco, CA Posts 43 Testing Business Objects 'lo all, Newbie ...

27. Business Process Validation    forum.springsource.org

Business Process Validation Hi All, I have an inventory project, and there are some business process validation. the core flow of the project is that supplier put stock item in the ...

28. spring web and business layers interaction    forum.springsource.org

Hi, We have an MVC application. we're using DTO objects at web layer to collect and represent data on web forms. we also have a business layer, whose API is based ...

29. Help with using HibernateTransaction and Business Logic    forum.springsource.org

Help with using HibernateTransaction and Business Logic I am creating a struts/spring/hibernate 2.1 based application and I could really use some help with using the HibernateInterceptor. I have my code organized ...

30. Presentation and Business Tier Communication    forum.springsource.org

Presentation and Business Tier Communication Hi, I am thoroughly confused on one design aspect - "Should the Business Tier and Presentation Tier communicate using POJO, XML or through parameters". Assume, that ...

31. 'Business Delegate' appropriate for Spring-based business layer?    forum.springsource.org

'Business Delegate' appropriate for Spring-based business layer? We're in the process of developing an application using JSF, Hibernate and Spring. The application has it's own database (that's what we use Hibernate ...

32. Business layer design question    forum.springsource.org

Business layer design question Hi, This is a re-post - I first asked this question in the "data access forum" but was advised to try it here instead. I have got ...

33. Spring between web and business tiers    forum.springsource.org

Spring between web and business tiers What are the best practices of linking web tier components with business objects in the business tier of a J2EE application with Spring? In a ...

34. How do you display business logic errors?    forum.springsource.org

How do you display business logic errors? If there was a validation error associated with a form's command object binded values, then a BindException would be given to the jsp and ...

35. Multiple business interfaces    forum.springsource.org

Hi, I was wondering if it was possible to define more then one business interface using SimpleRemoteStatelessSessionProxyFactoryBean because my bean actually implement two interfaces. If it is the case, what is ...

36. Spring between web and business tiers    forum.springsource.org

Spring between web and business tiers I am starting this new thread in an attempt to understand more about the other post http://forum.springframework.org/showthread.php?t=20740 gmatthews described that Option 2 is to create ...

37. [NEWB] Where (and how) to perform additional business-logic validation?    forum.springsource.org

[NEWB] Where (and how) to perform additional business-logic validation? Howdy, I just loooove being the new guy I have a SimpleFormController that works great... but I need to perform some additional ...

38. Design for business rule validation    forum.springsource.org

Design for business rule validation I'm currently working on a system that needs custom business rule validation per domain object. These rules needs to be validated on the server-side. The simplest ...

39. how to integrate JBPM3.1 with custom business logic?    forum.springsource.org

how to integrate JBPM3.1 with custom business logic? Hi, I have to build an application which uses a non-standard DAO/ORM-Template mechanism. This is a simple CRUD application. What I have to ...

40. Business Objects & Value Objects    forum.springsource.org

Business Objects & Value Objects Hi, I'm trying to fathom out how one is supposed to migrate the business objects (as passed to the RCP via remoting) onto the Value Objects ...

41. Running reusable business layer in Tomcat    forum.springsource.org

I want to achieve the typical J2EE scenario, where you have multiple WAR web applications that use a single business layer (EJB-like) in Tomcat. Unfortunatelly, I haven't been able neither to ...

42. How to get Handle to Current Applln Context from Business Layer    forum.springsource.org

How to get Handle to Current Applln Context from Business Layer I have 3 layers - Web Layer - Business Layer - DAO Layer Currently all 3 layers share same context ...

43. Business object cannot maintain state in memory    forum.springsource.org

Business object cannot maintain state in memory Hi all, I have a situation where an object in the business layer (call it StorageFacility) needs to mine some data from the DB ...

44. business validation    forum.springsource.org

business validation I have dude with validation and handling exceptions. I have a form where i have to validate that the fields are not empty, so i used a validator for ...

45. Spring As Business Layer    forum.springsource.org

Spring As Business Layer We adopted JSF Spring Hibernate for our application Just completed developing presentation layer using JSF Need to get started coding our business rules in Spring. Not sure ...

46. Business Event Modeling and Logging    forum.springsource.org

Business Event Modeling and Logging We're a health care provider that collects and manages patient data. Various end-user activities need to be logged. Patients, for example, are associated with a Provider ...

47. Validating business Logic with validation framework..    forum.springsource.org

Hi, The application which I'm currently involving has several business logics. Some checks in business logics should be done in the presentation layer. As an example : Identification numbers, that user ...

48. Loading the context in business layer    forum.springsource.org

hi, I have an application consisting of JSF in the presentation layer, Spring beans exposed as EJB services in the business layer and Hibernate in the data layer. Which is the ...

49. Display business logic errors on jsp    forum.springsource.org

I am trying to display business logic errors on JSP using the following code. Code: Also is there any way to display ...

50. Sending the context to the business tier    forum.springsource.org

Sending the context to the business tier hi, We have multiple wars in the presentation tier communicating with the same business engine on a remote machine. The business APIs are exposed ...

51. applying advices to business objects    forum.springsource.org

I want to implement the old MVC pattern using AOP. For that I need to apply advices to my business objects. That means to objects that are not defined in the ...

52. Business Use Cases    forum.springsource.org

Business Use Cases Hi I am looking for Business Use Case ( a practical example may be ) for Spring Framework usage. For example, what were the circumstances that led you ...

53. Application Design -- business validation    forum.springsource.org

Application Design -- business validation Simple question about application design, hopefully. We're working on a web application for data input and reporting. We typically have at least three layers for our ...

54. What is up with Spring business objects?    forum.springsource.org

What is up with Spring business objects? I am new to Spring but not to MVC or java dev. What is up with business objects? Spring configurations bind forms to bean ...

55. Introduction on domain objects on business method?    forum.springsource.org

I need to introduce new methods on domain objects passed to business methods. If yes how could I do this on the following sample? I am specifically looking for the joinpoint ...

56. Validation interceptor (use in business tier)    forum.springsource.org

Validation interceptor (use in business tier) Hello, I would like to validate every argument sent to a service method with a org.springmodules.validation.bean.BeanValidator. I've not found any ValidationMethodInterceptor class in springmodules 0.9. ...

57. business logic with Spring    forum.springsource.org

I design business logic of my application with spring.Application context is configured in web.xml and corresponding listener also included.In each method of business logic ,I need to get Beans so I ...

58. business logic with Spring    forum.springsource.org

I design business logic of my application with spring.Application is configured in web.xml and corresponding listerner alos include.In each method of business logic ,I need to get Beans so I have ...

59. Business Rule Framework    forum.springsource.org

Business Rule Framework We use MyFaces 1.2.2, JSF 1.2, facelets 1.1.13, Spring 2.5, Hibernate 3.2 50% of the code is already written using JSF, Spring,Hibernate. Next we need to work on ...

60. Spring for the Business Layer    forum.springsource.org

Am planning to build a system using SEAM for the Webapplication & Spring for the business layer. I need to remote the business layer as webservices too for external application access. ...

61. Business Tier design patterns    forum.springsource.org

Hi, While developing a pilot project with Wicket --> Spring Business Tier --> Hibernate persistence tier --> DB; I need to know some of the best practices. Like for example, how ...

62. Problem with a skipLimitStep not rolling back business operations.    forum.springsource.org

Problem with a skipLimitStep not rolling back business operations. We have skipLimitStep Code:

63. pass parameters to business schema file?    forum.springsource.org

Hello I need to create a table using the business schema file. (every time the batch process starts) The problem is that the table has to be named using a parameter ...

64. Looking for business case to support use of spring features    forum.springsource.org

Looking for business case to support use of spring features Hello: I'm in a study group of developers that are learning Spring. We are looking at some of the advanced features ...

65. question on accessing the spring context from business tier    forum.springsource.org

question on accessing the spring context from business tier Spring newbie here.... I have been baffled with the following - I am developing a web application using spring 2.5. I am ...

66. How to create business Layer in Spring?    forum.springsource.org

How to create business Layer in Spring? Hi all, I'm having doubt about how can i create Business layer in spring. Let me Give a brief introduction about existing layers that ...

67. Business logic validation with BVF?    forum.springsource.org

I am just introduced to the Spring Module - BVF. It works very with simply validation rules. After reading the document, I can't figure out how it can be used for ...

68. Start Internet Business at Home    forum.springsource.org

Hi I am Jane and my hobbies are watching movies and chatting on internet. I have a Internet Business at my home in which I don't need to go out for ...

69. Business object (BO) creation: where and how?    forum.springsource.org

Business object (BO) creation: where and how? This is a complex topic, so I'll try keep things simple. Where There seems to be a general lack of discussion on the web ...

70. remote interface still looking for removed business method    forum.springsource.org

remote interface still looking for removed business method Hi all, I am new to Xdoclet. I have an existing spring ejb generated using xdoclet. Now I had to remove a business ...

71. should getter setter have business logic    forum.springsource.org

Hi, This is more of a philosophical question i am trying to get an answer to. Should i put some logic inside my getter setter method? I have seen sites/books advising ...

72. Exposing business method as button on page    forum.springsource.org

Is it possible to call a business method on an entity bean when the user press a button? Kind of like what you can do with a managed bean in JSF. ...

73. Business Case for Spring 3.0.0 Upgrade    forum.springsource.org

Business Case for Spring 3.0.0 Upgrade I am an architect on a large-scale Spring-based portal project, and we are in the process of selling work that will eventually lead to a ...

74. Business Objects    forum.springsource.org

Business Objects Hi All, Where should the business logic reside. We have been thinking of using BO which wraps the JPA entity and put our business logic into it. BO will ...

75. Roundtrip Opensource Business Application Generator    forum.springsource.org

Dear All, Glad to release "RADSimplified," a round trip business application generation tool on Spring 3. It supports not only sophisticated CRUD, but also workflow, security and easy customization with iterative ...