Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java hooks

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

We want to separate our application to into two parts infrastructure and business application.
The infrastructure will be developed by another team in another project that the business application.

Our application is deployed as an ear on JBoss 4.2. we are using Jboss AOP, Ejb3.

We want to write an infrastructure that will allow to the application logic team to add or change behaviors for exceptional cases.
The code that they write has to be written in a sepertae project that depends on the infrastructure project.


For example, lets say that I expose a fa�ade of updateObj(obj)
The infrustrcutre look like this �
Object updateObject(Object object){
DBService(object);
}

We are developing NMS system , so we have a lot of device platform and versioning.
We need to give the application team the ability to expand the infrastructure in an easily way. For example in the above example � if the object is instance of VIP and the device platform is A , version 1.05 you need to log the operation , clear some values from the object before save it and in rare cases skip the call to DBService.

Can you please advice on solutions that suitable for this problem? (Maybe to write a plug-in infrastructure with AOP)

Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic