Opened 13 years ago
Closed 13 years ago
#12 closed task (worksforme)
Implement lib.remote
Reported by: | smoser | Owned by: | smoser |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Architecture | Version: | |
Keywords: | Cc: | dgermann |
Description
A generic mechanism to abstract remoting with an easy option to insert mocked services.
Note: See
TracTickets for help on using
tickets.
A first version is implemented. It works quite simple, you need
Then you call the service from the calling module with ServiceLocator?.lookup(...).
lib.remote is configurated at runtime to choose the mocked implementation, you can set a system property to -DTestService=mock. Note: the system property will change to the full jndi name in a later implementation.