Hello, Some general principle question when it comes to designing an OSGI service:
Regarding the classes within the API that are used to hold data (lets say you have an OrderService, then the API would consist of an Order class that holds/transports the orders) 1. Would you add a default constructor to Order ? Current position is yes, as it allows for over the wire transport 2. Should Order implement java.io.Serializable ? Current position : yes, as it helps over the wire transport 3. Would you annotate Order with JSON annotations ? Current position : no, create extra DTO objects for that Thanks in advance Best Frank
_______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev