• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Java hooks

Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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){

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
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic