Skip to main content
1-Visitor
October 18, 2010
Question

Best practice deployment for custom Java - toJARor not to JAR?

  • October 18, 2010
  • 7 replies
  • 1566 views
I maintain a copy of wtCustom and wtSafeArea in my version control tool.

Typically, I Always baseline a windchill home directory immediately after install as a jar or tar or rar file. I also backup directory servers and database.

If I have the space, I'll check it in uncompressed to the version control tool as a separate tag or baseline to do directory comparisions.

I also have script where I run @drop-ddl-wt.sql

Obviously I'm speaking of test and developmemt system deployment processes, but for production, where applicable, my Ant scripts copy original files to wtCustom or wtSafeArea before I copy file(s) being deployed.

I aim to be able to revert to any configuration previously used.

Not sure if that answered the question?

Dave


Sent from my Verizon Wireless BlackBerry

7 replies

ddemay1-VisitorAuthor
1-Visitor
October 18, 2010
If it goes under Wt home, for me, it goes into a built jar file and is unjarred and deployed on my server.

My version control tool emulates wt-home directory... So it has a codebase, src, loadfiles, loadXMLfiles, wtCustom, etc. All .java code is placed into src directory for Eclipse or Netbeans to work with.


Sent from my Verizon Wireless BlackBerry
1-Visitor
October 18, 2010
Do you use GWT for front-end development or just JSP?

Thanks,
Dmitry
15-Moonstone
October 18, 2010
Haven't used Google Web Toolkit yet with Windchill. I don't know if PTC recommend anything on it.

From: Tkach, Dymitry [
ddemay1-VisitorAuthor
1-Visitor
October 18, 2010
I could but have not had a customer request it. I have dabbled with it back in 8.0 when GWT was beta and started out.

Use of any technology: COBOL to Ruby on Rails, the method I use is based on the Windchill directory structure...


Sent from my Verizon Wireless BlackBerry
1-Visitor
October 18, 2010
Thanks. I found it to be the very easy in development. There are still
some concerns but I think it works pretty well.

Dmitry
ddemay1-VisitorAuthor
1-Visitor
October 19, 2010
If you ever want the XML to load an OIR from the command line, just ask.



Obviously what we are talking about is a system where customization takes
place to fit Windchill into a legacy (hard to change or political) business
process.



From: Gupta,Preeti,IRVINE,R&D [
12-Amethyst
January 4, 2012
Of course if you're in 10.0 or higher then the servlet engine and method
server are one and the same -- but even there you generally want to
offload really long running operations to a background queue and thus to
a background method server.