[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: lkuetem  XML
Profile for lkuetem -> Messages posted by lkuetem [2]
Author Message
Hi,

for all who need immediate access to the CaptainCasa Demo Workplace from the Enterprise Client Editor, follow the steps as described below:

1. Create a new project <projname> in the Enterprise Client Editor (other than "demos") and exit the toolset and server
2. Copy the content of "<installdir>/server/tomcat/webapps/demos" to the new folder "<projects>/<projname>/webcontent"
3. Import the project into Eclipse
4. Start the Enterprise Client Server and Development Tools and reload the server
5. Select the project in the Editor and doubleclick the item "workplace"
6. Select the appropriate demo JSP, doubleclick and push "Refresh Preview"

If you also want to access the demos classes info in the Bean Browser, close the toolset and the server and execute these additional steps:

7. Copy the jar file from "<projects>/<projname>/webcontent/WEB-INF/lib/eclntdemos.jar to a temporary directory
8. Expand "eclntdemos.jar" with a ZIP-Tool, e.g. 7-ZIP, and copy the folder "workplace" to .../WEB-INF/classes
9. Start the server and development toolset and select the folder "wp/workplace" in the Bean Browser

that's it!

Have fun!
Ludwig
Hi Björn,

in the SDM manual it says on page 8 that you can connect to any relational DB available via JDBC / Hibernate.
I started trying to modify the ccappor.hibernate.cfg.xml in the sample project 'first' appropriately for MySQL as mentioned in Hibernate doc, but this wasn't sufficient - no access to MySQL database.
I would appreciate if you could provide an example with all modifications required in the respective files.

Greetings
Ludwig
 
Profile for lkuetem -> Messages posted by lkuetem [2]
Go to:   
Powered by JForum 2.1.6 © JForum Team