Reputation
386
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 7
Newest
 Editor
Impact
~9k people reached

  • 0 posts edited
  • 0 helpful flags
  • 30 votes cast
Dec
15
comment What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
They are quite similar, yes. Check out this question: stackoverflow.com/questions/13389544/…
Dec
15
comment What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
Since I use ServletResponseWrapper as a base class, I don't have to implement all the methods from ServletResponse and write all the delegating methods. By the way, IDEs have support for generating these delegation methods for you.
Dec
15
comment What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
@AlexanderBird: I added a Filter implementation you would use to make your application server use your wrapper. As you can see, the filter receives the request and response and I wrap them in my class.
Dec
15
revised What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
added 679 characters in body
Dec
15
revised What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
added 668 characters in body
Dec
15
awarded  Editor
Dec
15
revised What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
added 682 characters in body
Dec
15
answered What is the purpose of a wrapper class that does nothing but delegate to the object it wraps?
Aug
25
awarded  Autobiographer
Feb
27
awarded  Caucus
Jan
11
awarded  Nice Answer
Sep
22
awarded  Yearling
Apr
13
answered Moving from a traditional waterfall methodology to an agile one
Apr
12
comment Do I need to upgrade log4j to slf4j
@Jose: what do you gonna do, leave it as is or refactor?
Apr
12
comment Do I need to upgrade log4j to slf4j
I wouldn't vote this down. Martin could be right. If Jose has some finished product (not a library, see my answer) he should just leave it as is and spend time somewhere else...
Apr
12
answered Do I need to upgrade log4j to slf4j
Apr
12
awarded  Commentator
Apr
11
comment Languages and frameworks to build REST services
I know there is no need, but you save some time and work when you can use the same classes and routines on client and server. You don't have to rewrite all the shared stuff and, if you are the only developer in the project, don't have to switch between languages all the time.
Apr
11
answered Languages and frameworks to build REST services
Apr
11
comment Thinking of simultaneously coding the same project in two languages. Good Idea?
Well, than you could do it once more in the first language and once again in the second. It will be easier and faster every time, that's for sure...