Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Eclipse - livesite env - Java class testing
Srinivasa Talla
TS 7.3.2, site publisher, live site.
I am new to livesite. I installed Eclipse and added the copied jar files. I would like to know the best practices from LiveSite java guys - local box(Desktop/Laptop) VS TeamSite DEV server. Please help me. I could able to compile the code from Eclipse on local box. How can I test the class with runtime input before copying to DEV box? or any alternate ways for this?
1. Runtime DCR input
2. Http Request
3. Different types of database calls - odbc/property file.
4. Any other runtime values of TS/LS
5. Best tool? Eclipse/JBoss/NetBeans/...
Find more posts tagged with
Comments
nipper
Local Dev server is the best.
You can check this site out:
click here
There are some cool ideas that may help.
I also just copy the jar into iw-preview and restart JBOSS instead of a maketookit (if it is a LS change).
HTML5 Chart -- Chart with plotline x axis marker threshold lines y axis__cwong.rptdesign
Rick Poulin
There's a certain amount of unit testing you can do on your Java code using frameworks like JUnit or TestNG, but that's a small fraction of an overall TS/LS implementation. So yeah, local dev server is a minimum. As your project matures, you can then introduce automated testing and having an instance of the runtime running locally for things when you don't need the whole of TeamSite behind it.