[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call

2009-05-20 Thread PeterJ
So the project guy writes his own calculation logic (perhaps in his own EJB, 
perhaps as a POJO) and calls that instead of calling your method.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232252#4232252

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232252
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call

2009-05-19 Thread kkangsar
As I said, the calculation method may not suit for some of the project,  the 
project guy have to write their own logic to override the existing the method.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232077#4232077

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call

2009-05-19 Thread PeterJ
You did not answer this question:

anonymous wrote : For a developer, why would that developer simply not call 
your method and call their own method instead?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231997#4231997

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231997
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call

2009-05-19 Thread kkangsar
sorry for not clearing defined. My user is developer (project implementer)

What I want to do is, I will create a standard calculation method which is 
suited for most of the project.  

But sometime, customer project may have their own calculation method, I would 
like to design an application which is flexible enough for developer to 
override if they wish to.

Please advise the way of doing it because I am just starting using EJB and 
Java. Thanks. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231979#4231979

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231979
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: how to override the method logic which is currenlty call

2009-05-19 Thread PeterJ
By "user" do you mean "an end user who is typing things into a browser" or do 
you mean "a developer who is going to incorporate your EJBs into their 
application" or do your mean "a system administrator who is configuring you 
application for use on their system and wants to override your calculations"? 
The answer to your question is very different depending on which type of user 
you are referring to.

For a developer, why would that developer simply not call your method and call 
their own method instead?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231955#4231955

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user