Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » HowTo generate and run a standalone cdo server?
HowTo generate and run a standalone cdo server? [message #113577] Fri, 29 February 2008 11:17 Go to next message
Eclipse UserFriend
Originally posted by: mam05eux.studserv.uni-leipzig.de

Hello,

I wanted to teste CDO on some computers.
So the tutorial (library) works fine on one computer but now i wanted to
generate a standalone cdo server which can be run on an external server
so that I´m able to develop models on more than one pc.
I tried to find an approach to generate a server but there is nothing on
the internet, i think ;)
I took a look at the source code of the example server but that didn´t
make me much smarter.

So please help me!!! :)

Second question is if there is any possibility to run such a server
without eclipse?
Re: HowTo generate and run a standalone cdo server? [message #113629 is a reply to message #113577] Fri, 29 February 2008 16:31 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Stanley,

Comments below...




Stanley Hillner wrote:

> Hello,

> I wanted to teste CDO on some computers.
> So the tutorial (library) works fine on one computer but now i wanted to
> generate a standalone cdo server which can be run on an external server
> so that IÂŽm able to develop models on more than one pc.
> I tried to find an approach to generate a server but there is nothing on
> the internet, i think ;)
> I took a look at the source code of the example server but that didnÂŽt
> make me much smarter.

> So please help me!!! :)

I'm currently not at home so I can only direct you to some existing test
code:
-
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.cdo/tests/org.eclipse.emf.cdo.tests/src/org/ecl ipse/emf/cdo/tests/ImportXML.java?root=Modeling_Project& view=markup
-
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.cdo/hibernate/org.eclipse.emf.cdo.tests.hiberna te/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.jav a?root=Modeling_Project&view=markup

Currently I have no snippet at hand which demonstrates the setup of a
standalone DBStore. The above test cases use a MEMStore and a
HibernateStore. You should be able to use something like
CDODBUtil.createStore(...).

If all this does not help, please remind me during the weekend that I
write something useful for you.

> Second question is if there is any possibility to run such a server
> without eclipse?

Aeh, all of the above examples run the server standalone, i.e. without
Eclipse. Wasn't that what you asked for initially?

Cheers
/Eike


Re: HowTo generate and run a standalone cdo server? [message #615589 is a reply to message #113577] Fri, 29 February 2008 16:31 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Stanley,

Comments below...




Stanley Hillner wrote:

> Hello,

> I wanted to teste CDO on some computers.
> So the tutorial (library) works fine on one computer but now i wanted to
> generate a standalone cdo server which can be run on an external server
> so that IÂŽm able to develop models on more than one pc.
> I tried to find an approach to generate a server but there is nothing on
> the internet, i think ;)
> I took a look at the source code of the example server but that didnÂŽt
> make me much smarter.

> So please help me!!! :)

I'm currently not at home so I can only direct you to some existing test
code:
-
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.cdo/tests/org.eclipse.emf.cdo.tests/src/org/ecl ipse/emf/cdo/tests/ImportXML.java?root=Modeling_Project& view=markup
-
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org .eclipse.emf.cdo/hibernate/org.eclipse.emf.cdo.tests.hiberna te/src/org/eclipse/emf/cdo/tests/hibernate/HibernateTest.jav a?root=Modeling_Project&view=markup

Currently I have no snippet at hand which demonstrates the setup of a
standalone DBStore. The above test cases use a MEMStore and a
HibernateStore. You should be able to use something like
CDODBUtil.createStore(...).

If all this does not help, please remind me during the weekend that I
write something useful for you.

> Second question is if there is any possibility to run such a server
> without eclipse?

Aeh, all of the above examples run the server standalone, i.e. without
Eclipse. Wasn't that what you asked for initially?

Cheers
/Eike


Previous Topic:[TENEO] [JDO] library tutorial - connection getting closed
Next Topic:Performance problems with udge database
Goto Forum:
  


Current Time: Fri Apr 26 11:20:22 GMT 2024

Powered by FUDForum. Page generated in 0.02876 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top