Tag Info

New answers tagged

0

The repository pattern: Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects. The Data Mapping layer that you've chosen is Active Record. Ergo, the Repository is that software pattern that provides an additional layer of abstraction between your Active Record pattern and your business ...


2

I would like to be able to abstract each ticket developed by the team in a way that it can be enabled or disabled at runtime by using a distributed shared configuration system. Ideally yes, everything. I won't go down this path, but I think being able to toggle immediately any change, at runtime, is a very powerful feature. I am just wondering if ...


3

So you effectively need (or just want?) to have two source codes for the pre-ticket and post-ticket situation - e.g. ticket modified behavior of one method, so you ideally want to be able to switch from the former implementation (pre-ticket) of the method to the new (post-ticket) implementation. This can be done using polymorphism - you have some e.g. ...


2

Modular design is about separation of concerns, NOT about splitting something up into smaller sections (though it tends to have that effect). It's perfectly acceptable (and even very good practice) to have a separate EJB module, web module, etc.. Each is its own deliverable after all within the JEE landscape, with the EJB module creating an EJB jar, the web ...


2

Generally speaking, there is no right way to organize classes. There is only the way that best meets the projects requirements for clarity. The size of the modules is probably the least important organizing principle. – Robert Harvey


1

PubSub is more related to Messaging Queues (MQs). It has to do with how nodes receive asynchronous messages in a distributed system. Reactor pattern has more to do with asynchronous events. For exemple, non-blocking sockets use the reactor pattern to deliver network events: READ, WRITE, CONNECT, ACCEPT You can check CoralMQ and CoralReactor to have a ...



Top 50 recent answers are included