20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Defining e.<strong>net</strong> solutions<br />

In SYSPRO e.<strong>net</strong> solutions the COM object is implemented as a Dynamic Linked Library<br />

(DLL) called ENCORE.DLL. In case you're wondering where this name came from, it is a<br />

legacy carry-over from the days when the SYSPRO product was called Encore. As to the<br />

reasons why the filename was not changed when the product was re-branded, they will<br />

soon become apparent.<br />

When SYSPRO e.<strong>net</strong> solutions is installed on a SYSPRO application server,<br />

ENCORE.DLL is installed to the SYSPRO base folder and registered to expose a number<br />

of interfaces as Public Objects. Each of these objects is essentially a class that categorizes<br />

methods according to the class function.<br />

As shown in Figure 2.2, “The COM Object” [2–5], the COM interface is extremely<br />

simple and compact. The classes and methods provided are also designed to be as abstract<br />

or generic as possible. The implication of this is that the COM Object will rarely, if ever,<br />

need to be modified. For developers, this means that the integrity of the interface on which<br />

their e.<strong>net</strong> solutions applications are built is more or less guaranteed to remain unchanged,<br />

regardless of the version number of the underlying SYSPRO application.<br />

If you are still wondering why ENCORE.DLL has not been renamed, consider what would<br />

happen to e.<strong>net</strong> solutions web-based applications if the Encore COM object was renamed<br />

to SYSPRO.DLL. The COM object interface would be broken and e.<strong>net</strong> solutions would<br />

not be serviceable. This backward compatibility is essential for the smooth transition of<br />

upgrades and updates.<br />

Figure 2.2. The COM Object<br />

2–5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!