|
Software
»
Apache
»
Struts
»
Struts - User
How to initialize business service objects?
View:
Threaded
List (by date)
Classic
Old framed views
22 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
Frank Fischer
–
How to initialize business service objects?
Frank Fischer
How to initialize business service objects? -
Hi all i'm just starting with struts2 (even with struts at all). Of course i first read some how-to-starts. But...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Randy Burgess-3
Randy Burgess-3
For a POJO you can use dependency injection such as Spring or Guice or you can instantiate the object the normal...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Frank Fischer
–
RE: How to initialize business service objects?
Frank Fischer
RE: How to initialize business service objects? -
Hi Randy Hi all I just read a bit regarding Spring. As far as i understand its focus is on J2EE appllications. I...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
newton.dave
newton.dave
--- Frank Fischer <frank.fischer@...> wrote: > I just read a bit regarding Spring. As far as i understand...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Jeromy Evans - Blue Sky Minds
–
Re: How to initialize business service objects?
Jeromy Evans - Blue Sky Minds
Re: How to initialize business service objects? -
Hi Frank, Have a read of Martin Fowler's article on deciding which option best suits...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
GF-7
GF-7
I suggest you to read this simple but useful tutorial to have an idea about how much is simple to use...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Chen Chunwei
–
Is type property in
tag must be filled?
Chen Chunwei
Is type property in
tag must be filled? -
Hi all, I'm new to Struts. And I want to ask if the type property in <form-bean /> tag must be filled? I mean if it's...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Antonio Petrelli-3
Antonio Petrelli-3
2008/3/17, Chen Chunwei <out-chenchunwei@...>: > I'm new to Struts. And I want to ask if the type...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Antonio Petrelli-3
Antonio Petrelli-3
2008/3/17, Chen Chunwei <out-chenchunwei@...>: > > But I'm using Struts 1.1, then is it still...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Chen Chunwei
Chen Chunwei
Thanks Antonio But I'm using Struts 1.1, then is it still required? Talos ----- Original Message ----- From:...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Chen Chunwei
Chen Chunwei
Thanks Antonio. I know little about DTD, but in my company, we are not allowed to access Internet. So I cann't see...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Antonio Petrelli-3
Antonio Petrelli-3
2008/3/17, Chen Chunwei <out-chenchunwei@...>: > > Thanks Antonio. > > I know little about DTD, but in...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Frank Fischer
–
RE: How to initialize business service objects?
Frank Fischer
RE: How to initialize business service objects? -
Hi all first i'd like to thank all of you that have given me valuable feedback to my question. Following the...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Griffith, Michael *
Griffith, Michael *
Frank, Check two things: 1) You have included the struts2-spring-pliugin.jar in your classpath 2) Your...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Piero Sartini-3
Piero Sartini-3
Am Donnerstag, 13. März 2008 22:32:34 schrieb Frank Fischer: > Now i don't understand (1) where to create/initialize...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Randy Burgess-3
–
Re: How to initialize business service objects?
Randy Burgess-3
Re: How to initialize business service objects? -
You also need to setup your action in the application context so that Spring knows where to inject the business object....
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Rushikesh Thakkar
Rushikesh Thakkar
Frank, AFAIU, you want your Business Service Object to be injected in your Struts2 actions. To achieve that, I have...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
newton.dave
newton.dave
--- Randy Burgess <RBurgess@...> wrote: > You also need to setup your action in the application context so...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Frank Fischer
Frank Fischer
Hi Michael Thanks for your answer. > 1) You have included the struts2-spring-pliugin.jar in your classpath Yes,...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
newton.dave
newton.dave
--- Frank Fischer <frank.fischer@...> wrote: > <beans default-autowire="autodetect"> Off the top of my...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete
Print
Show in classic view
Show in thread view
Permalink
Griffith, Michael *
Griffith, Michael *
Frank, I would check your struts.properties file: Make sure it has these entries and that it is on your classpath...
Loading...
Reply
More
Rate this Message:
Reply to author
Delete