AD0-E330 practice question 9 of 10

A developer wants to retrieve data from the Campaign database and show the particular data on the client's website. Which method should the developer use?

Full set: 50 questions
Answer options
A: External accounts
B: Data Schema methods
C: JSSP webpage Correct answer
Correct Answer:
C. JSSP webpage
Explanation

A JSSP (JavaScript Server-Side Pages) webpage is the appropriate method for this use case. JSSPs are dynamic pages processed on the Adobe Campaign server. A developer can write server-side JavaScript within a JSSP to query the Campaign database using APIs like xtk.queryDef. The JSSP can then format the retrieved data as JSON, XML, or HTML and serve it over HTTP. The client's website can make an AJAX call to the JSSP's URL to fetch this data in real-time and display it to the end-user. This effectively creates a custom API endpoint for the external website to consume.

Why Incorrect

A. External accounts: These are configured within Campaign to connect to external systems (e.g., SFTP servers, external databases, cloud storage), primarily for data import/export tasks, not for external systems to query Campaign.
B. Data Schema methods: While schema methods (SOAP calls) are the underlying functions for data manipulation, they are not directly exposed to the web. JSSP is the presentation layer technology used to create a web-accessible endpoint that would, in turn, call these methods.

References

1. Adobe Experience League Documentation - JavaScript in web applications (JSSP): "JSSP (JavaScript Server-Side Pages) are used to create dynamic pages. These pages contain JavaScript code that is interpreted by the server... JSSP pages can be used to: display content from the database..." This source directly states that JSSPs are used to display content from the database on a page.

Source: Adobe Campaign Classic v7 Documentation

Developing > Web applications > JavaScript in web applications (JSSP).

2. Adobe Experience League Documentation - About web applications: "Web applications let you create and post dynamic and interactive web pages that can be accessed via a browser... A web application is made up of one or more pages (JSSP)." This establishes that JSSP is the core technology for creating web-accessible pages in Campaign.

Source: Adobe Campaign Classic v7 Documentation

Developing > Web applications > About web applications.

3. Adobe Experience League Documentation - QueryDef: The explanation mentions using xtk.queryDef within a JSSP. This documentation details how to build and execute queries against the Campaign database

which is the server-side action performed within the JSSP.

Source: Adobe Campaign Classic v7 Documentation

Developing > JavaScript scripts and templates > QueryDef.

Scroll to Top