Author Topic: Run EA in background with Node.js  (Read 1279 times)

Jan van Duuren

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Run EA in background with Node.js
« on: July 25, 2025, 07:36:37 pm »
It is possible to run EA in the background (e.g. on a server) with Node.js and make full use of EA API.

some advantages for this solution are:
  • you can use any NPM package together with EA
  • run EA batch jobs during the night like exports or publications

You can find a simple example on my GitHub:
https://github.com/jvduuren/ea-with-node.js
« Last Edit: August 11, 2025, 04:36:36 am by Jan van Duuren »
EA scripting since 2013 (JScript, Javascript and Node.js)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Run EA in background with Node.js
« Reply #1 on: July 29, 2025, 08:15:24 am »
allows you to build a REST-API for EA[/li][/list]

https://sparxsystems.com/products/ea/17.1/eula.html

Quote
Server based installations that provide concurrent end users with content or functionality derived from a running remote instance of Enterprise Architect over a network is not officially supported by Sparx Systems. (This is due to technical limitations in the Enterprise Architect product, specifically its construction as a single user application interacting with the desktop UI). If you wish to deploy or use Enterprise Architect in this manner, as a minimum you MUST adhere to the requirements detailed below and further elaborated here: https://sparxsystems.com/products/ea/server-legal.html and accept the risks and responsibilities attendant on that;

  • Every end user MUST have a genuine Enterprise Architect license of the correct edition;
  • The end user must have a licence under their own name, even if that licence is obtained by that user's organization on that person's behalf;
  • Sub-licensing Enterprise Architect by 3rd Parties to end users is not permitted;
  • A Fixed license per end user is required without exception. Licenses cannot be dynamically allocated or transferred between end users;
  • Unlimited Read-Only and/or Unlimited Read/Write access to a server based instance of Enterprise Architect is expressly forbidden as unlicensed end users may be illegally authorized (with or without their knowledge) to use the Enterprise Architect instance on the server.
  • A server based instance must NOT be used to create a derivative work, adapt Enterprise Architect for another platform, virtualize separate functionality or otherwise contravene the rights and entitlements granted to Sparx Systems under copyright law and not expressly granted to the end user in the Enterprise Architect EULA.
  • You acknowledge the risks and limitations inherent in using Enterprise Architect in a manner that is not supported nor recommended and waive all rights and warranties pertinent to this use.
By my interpretation you are telling people how to violate the EULA that you have agreed to.

Jan van Duuren

  • EA Novice
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Run EA in background with Node.js
« Reply #2 on: August 11, 2025, 04:38:54 am »
of course I do not want any people to violate the EULA.
I removed it from the post.
EA scripting since 2013 (JScript, Javascript and Node.js)