vik ar wrote:Hi. I know how to create a jms connection factory and queue in weblogic - i just plonk a xml file (with root element <weblogic-jms>) in domains/domainname/config/jms. Is there anything similar in websphere or does it have to be done via console?
seena mathew wrote:I am a newbie to design phase and newbie to the existing working application.
Scenario:
Functionally working code in production, MVC, in house framework since last 10 years
Requirement:
Functionally:
Looks and feel of the few pages has to be changed by using new rich java script library. There is some slight functionality change here and there too but major change is about look and feel.
Design:
It should be reusable code and could be extended for next phase change-which definitely is more changes on to other pages and maybe or maybe not changes to framework (can be struts though not sure)
Question:
Ques1: Java classes: Helper, POJO, Retrieval class : Is it better to modify the existing class or have a new class extend the old class?
My pref: Better to have new class- Large methods in existing class and at some stage the methods can be rewritten ,easy to debug
Ques2: If suggested way is new classes should they reside in a different package hierarchy so as to easily differentiate if one has to move to new framework
Ques3: Are there any recommended books/articles which might help me in understanding designing when working with new and old code better
Carey Brown wrote:System.out is a PrintStream.
Christopher Nortje wrote:Remember that System.out is an variable the refers to an OutputStream, so just write to the stream as soon as the "text" become available.
Curtis Pendleton wrote:I am trying to configure the propertySet after creating the datasource with Jython script and after I save the properties will be out there twice. Once with the value that I set them to and once with the default value. I could run the code to remove all custom properties, but then I would have to go and set all 94 custom properties.
Is there a way to update the value of a custom property without putting 2 entries and removing all other custom properties?
I also have the option to copy the custom properties from another datasource that is already created, is that possible with Jython script?