Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Why two classes?
Why two classes? [message #148520] Wed, 23 November 2005 15:29 Go to next message
Eclipse UserFriend
Why does WTP does create 2 different classes?
I imagine its to allow to introduce user code, but I should write in the
last class of the hierarchy?

emerson
Re: Why two classes? [message #148621 is a reply to message #148520] Wed, 23 November 2005 18:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Emerson wrote:
> Why does WTP does create 2 different classes?
> I imagine its to allow to introduce user code, but I should write in the
> last class of the hierarchy?
>
> emerson
>
Yes, you should customize the "last class of the hierarchy". It's called
the "Generation Gap" pattern. More info at
http://www.research.ibm.com/designpatterns/pubs/gg.html

HTH,
Daniel Serodio

[Updated on: Mon, 06 November 2017 19:31] by Moderator

Report message to a moderator

Re: Why two classes? [message #148660 is a reply to message #148621] Wed, 23 November 2005 19:09 Go to previous message
Eclipse UserFriend
But the last class have:
/*
* Generated by XDoclet - Do not edit!

and the class that is extended have the onMessage with :
public void onMessage(javax.jms.Message message) {
// begin-user-code
System.out.println("Message Driven Bean got message " + message);
// TODO: do business logic here
// end-user-code
}
Previous Topic:Firefox plugin for Eclipse ?
Next Topic:Status of M9 and opportunity for early testers: M9 planned for 11/23
Goto Forum:
  


Current Time: Fri Apr 26 06:08:34 GMT 2024

Powered by FUDForum. Page generated in 0.03010 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top