Requirement: Java web application (non-MVC) needs to fetch required Component Presentations objects from Tridion Broker DB. Some basic conditions to fetch DCPs will be:
- Schema=S1
- CustomMetaAttribute1Val="abc"
- CustomMetaAttribute2Val="def'
Tridion Broker DB will return more than one Component Presentations objects and should be served to web application as array of JSON objects (Component Presentations).
Trying to use 8.5 CIL client APIs but com.tridion.dcp.ComponentPresentationFactory
seems not good enough to fullfill this requirement. What can be the best approach to achieve this if not using DD4T/DXA APIs at all.