Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using xml to configure an application server

 
Jun Hong
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application running on WAS 4.0 on Solaris. I wrote a Makefile to build the .ear file. The goal is to deploy this .ear on a new application server automatically. WSCP takes time to learn. So, I am trying to avoid it.
Hopefully, I can export the configuration of my current machine to an XML file. On the new machine, the XML file will be imported to configure the application server.
Did somebody do this before? I don't know what will happen to .ear file. Should I put it in installedApps, and the new application server will pick it up? I image things, such as Data Source, Database Driver will work fine.
Am I in the right track?
Jun Hong
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are talking about using XMLConfig -- yes, it will work but only so far. It can create datasources, etc. as you describe, but there are other things it can't do. The whole answer is that no, you are not on the right track. You need to buckle down and learn WSCP. It's not that hard, really! WSCP has capabilities that XMLConfig doesn't.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Jun Hong
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kyle,
Thank you for your reply and it is very helpful. I will spend some time on learning WSCP.
Jun Hong
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No problem Jun. One of the things that some people don't realize is that WSCP is really nothing more that TCL (tool control language) with some additional WebSphere libraries. So go get a good book or intenet tutorial on TCL (personally, I like O'Reilly's book: http://www.oreilly.com/catalog/tclnut/) and then gain the WebSphere specifics from the documentation and online help.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Vijay Bala
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Could soembody give some examples of things that WSCL can do that xmlconfig can't do ?
Thanx,
Vijay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic