Originally posted by Jothi Shankar Kumar Sankararaj:
Guys,
Suppose I have a scenario like this where I have a webapp with some servlets and I have run the application by starting tomcat. Now I make some small changes to my servlet and how can I redeploy it without stopping Tomcat?? Is there any facility in the Eclipse IDE for this???
I'm using Lomboz Eclipse IDE with the sysdeo plugin for Tomcat!
Originally posted by Ilja Preuss:
It sounds to me like you have a one-to-one mapping of document types to Java classes? Perhaps it is time to give up that correlation?
It seems to me like you are feeling the pain of mixing a business decision (should there be a new document type) with a technical decision (should there be a new class). If it makes sense to the users to introduce a new document type, but it doesn't make sense technically to introduce a new class, it sounds to me like the most reasonable thing to do is finding a way to introduce a new document type without having to introduce a new class.
How does that sound to you?
Originally posted by Frank Carver:
Can you not just extend the old class with the new one?
That way you get all the fields and behaviour of the old class with a new name, but with no duplicated coding.
Or have I missed the point?
Originally posted by Ilja Preuss:
Why do those customers know about the classes at all? What kind of interface are they using to your system?
Originally posted by Stefan Wagner:
Are groups of 1 element possible groups? X (A)
Originally posted by Lear nable:
Also, take a loop at Set Cover Problem
Originally posted by Lear nable:
How do you color groups? Does it serve any practical purpose?
Originally posted by Stefan Wagner:
I would start with smallest groups, because they tend to have the smallest intersections.
When I understood correctly, a supergroup of 8 Groups with a total of 16 elements is better than a supergroup of one group with 15 elements.
Then I would try to reach the maximal number of elements.
Then I would try to replace groups with larger groups of the same elements.
X (A, B) + Y (C, D) -> Z (A, B, C, D)
This would still be a hard job, and I guess it is not guaranteed to find the best combination.
It reminds me of the backpacker problem.
Are groups of 1 element possible groups? X (A)
Originally posted by Paul Sturrock:
I doubt if there would be any performance implications one way or the other. Placing constants in an Interface is supposedly frowned upon, but again I can't really see a reason why.