| Author |
how to write Custom Events in Java ?
|
Shania nagapaga
Greenhorn
Joined: Nov 28, 2002
Posts: 7
|
|
Hi, Can u provide a simple sample code for writing custom-events in java thanks
|
 |
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
|
|
|
This is definitely not the correct forum for this question. Why don't you try Java in General (intermediate) or Swing / JFC / AWT Forums?
|
 |
Shania nagapaga
Greenhorn
Joined: Nov 28, 2002
Posts: 7
|
|
Chris !! I didn't maen it for events for Swings/AWT. I meant for server side (non-gui) events. pl... don't loose ur temper .... regards
|
 |
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
|
|
|
Then what do you mean by event? You can't write your own life-cycle methods. What exactly are you looking to achieve?
|
 |
Pearlo Muthukumaran
Ranch Hand
Joined: Sep 17, 2002
Posts: 79
|
|
Chris, Sorry to interrupt I believe he is trying to refer the business events like OrderConfirmedEvent in say a purchase module so that the same can be used for some other functionality(like invoking a method of bean containing the behaviour of Shipment process) Regards Kala
|
 |
HanMing Low
Ranch Hand
Joined: Oct 18, 2001
Posts: 196
|
|
Hi, You can refer to PetStore for example on creating CustomEvent. If you can tolerate a less than standard english explanation, you can refer to my site for a stripped down version of the petstore example. http://sg.geocities.com/low_hanming/framework/framework.htm Cheers. Han Ming
|
 |
Shania nagapaga
Greenhorn
Joined: Nov 28, 2002
Posts: 7
|
|
thanks HanMing, ur link explains the topics what I needed. I am going through it ..... thanks again bye
|
 |
Chris Mathews
Ranch Hand
Joined: Jul 18, 2001
Posts: 2712
|
|
|
If all you are looking for is a Web Framework then I suggest you check out Struts.
|
 |
Shania nagapaga
Greenhorn
Joined: Nov 28, 2002
Posts: 7
|
|
|
Thanks chris, for ur suggession.
|
 |
 |
|
|
subject: how to write Custom Events in Java ?
|
|
|