|
|
|
Re: Headless EMFStore server [message #953127 is a reply to message #929373] |
Mon, 22 October 2012 02:37 |
Mike Haney Messages: 25 Registered: June 2011 |
Junior Member |
|
|
If you exported the product like the tutorial said, then you end up with an executable file emfstore.exe (or just emfstore on Linux) in the exported application in the "eclipse" folder under the root folder you exported to, assuming you used the defaults from the export wizard. I tried this on Windows and it executed fine, I can't try it on Linux right now because my VM is broken.
This is less than ideal for a production application, because at least on Windows you get no feedback really that the app is running unless you open the task manager. For linux it would work fine, since it's much easier to run daemons, but on Windows you would want to use a service wrapper of some kind. Even better, create a WAR file and deploy it on Tomcat or something, then you have some management capabilities. You can use the WAR Product builder from the Libra project, or use one of the many examples on the net for building WAR files with embedded Equinox instances. I usually go with the method described in Jeff McAffer's Equinox book.
|
|
|
|
Re: Headless EMFStore server [message #953509 is a reply to message #953127] |
Mon, 22 October 2012 09:52 |
Maximilian Koegel Messages: 253 Registered: July 2009 |
Senior Member |
|
|
Hi Mike,
thanks for helping out! I overlooked the other reply, but saw your reply
today.
Cheers,
Maximilian
Am 22.10.2012 04:37, schrieb Mike Haney:
> If you exported the product like the tutorial said, then you end up with
> an executable file emfstore.exe (or just emfstore on Linux) in the
> exported application in the "eclipse" folder under the root folder you
> exported to, assuming you used the defaults from the export wizard. I
> tried this on Windows and it executed fine, I can't try it on Linux
> right now because my VM is broken. :x
>
> This is less than ideal for a production application, because at least
> on Windows you get no feedback really that the app is running unless you
> open the task manager. For linux it would work fine, since it's much
> easier to run daemons, but on Windows you would want to use a service
> wrapper of some kind. Even better, create a WAR file and deploy it on
> Tomcat or something, then you have some management capabilities. You
> can use the WAR Product builder from the Libra project, or use one of
> the many examples on the net for building WAR files with embedded
> Equinox instances. I usually go with the method described in Jeff
> McAffer's Equinox book.
--
Maximilian Kögel
Get Professional Eclipse Support: http://eclipsesource.com/munich
|
|
|
Powered by
FUDForum. Page generated in 0.04595 seconds