Recommended server setup for MarvinJS and JChem WS

User cbb759276f

25-09-2015 17:11:08

Hi,


I am currently testing MarvinJS and JChem WS on a test Apache/Tomcat server for export of structures to SMILES etc.


Would you recommend that MarvinJS is hosted on Tomcat along with JChem WS in this scenario?


Or would it be better to host MarvinJS on Apache and JChem WS on Tomcat?


 


Thanks!


 

ChemAxon 13811e1703

29-09-2015 13:10:58

Hi,

Both would be a good solution, it depends on your preferences.  You should only care about they must be served on same domain for not violating same-origin policy when MarvinJS or your javacript client is calling a web service.

Regards,
Peter 

User cbb759276f

20-10-2015 16:01:36

Thanks for the reply.


 


Our IT people have added a few more (technical!) queries.


 


1) Does webservices have a dependency on Microsoft SQL Server, or is it just an option?


2) Is SQL server a requirement if one is using webservices to convert .mrv to SMILES, or importing the structure from the IUPAC name?


3) We would be running webservices inside a Tomcat container
where the default application is already Cocoon. Is it possible to install webservices as an *additional* service.


 


 

ChemAxon 13811e1703

27-10-2015 14:50:00

Hi,

1) Database configuration is optional, by default the application creates an embedded Derby database in the chemaxon home directory in the user's home
(https://restdemo.chemaxon.com/docs/installationguide.html)

 2) No database is needed for using any stateless calcualtors, for example convert mrv to smiles:


POST /rest-v0/util/calculate/molExport
Content-Type: application/json
{
  "structure": "..." // the structure in mrv format
  "parameters": "smiles"
}

https://restdemo.chemaxon.com/apidocs


3) It is possible, but I recommend using dedicated instance for not sharing resources.

Regards,
Peter 

User cbb759276f

22-02-2016 15:27:23

Hi Peter,


 


Yet another question from our tech support. In the requirements, it mentions JVM 1.6.0_30 (64bit).


Our server setup uses Java 7 - is this also compatible?


 


Thanks


Tim


 


 

ChemAxon 13811e1703

22-02-2016 22:05:39

Hi Tim,

Yes it is compatible with Java 7, moreover the recommended version is now Java 8, I will update the documentation soon.

Regards,
Peter