Stefan Maric

Greenhorn
+ Follow
since Sep 12, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Stefan Maric

You should talk to your Quality Team - typically they OWN the standards. BUT that doesn't mean standards cannot be changed
It just has to be done in a structured & controlled manner
You will probably need to identify a small (non-critical path) section of a Project & define an alternative proposal based on XP practices
You will have to somehow show how XP will be a better way of doing things
If you can identify 2 similar sections of your project then you may be able to get a comparison
REMEMBER though first (& all) itration of XP isa learning experience
code:
--------------------------------------------------------------------------------
Connection dbConn = // whatever
String sql = "select * from very_big_table";
Statement stmt = dbConn.createStatement(sql);
ResultSet rs = stmt.executeQuery();
while (rs.next())
{
String col1 = rs.getString(1);
}
With the String coll inside the while loop - a NEW string is created every iteration
Garbage collection may/may NOT get a chance to recover obsolete Strings
String col1 = "";
while (rs.next())
{
col1 = rs.getString(1);
}
With String coll outside the loop - only ONE instance of a String is created its REFERENCE is re-used at every iteration of the while loop
(NOT completely true with Strings - but pretty much so)
20 years ago
Does anyone have/know of a SunOne Studio (Ant compatible) plug-in that performs File comparisons
ie something like WinDiff
21 years ago
Have been experimenting with JAXB - as part of this I have been building DTDs
During DTD production it becomes obvious that portions of several DTDs contain recurring definitions
So does anyone know if/how I can have entries in my DTDs that are equivalent to an Include statement in C/VB
ie I want to identify small DTDs which I can include/reference when building DTDs for larger data objects
Is anyone actively using these APIs in anything other than an experimental App
If so I would appreciate a brief update on
ease of use
completeness
bug-iness / need for work-arounds
ie some indication of the maturity of these APIs
22 years ago
I have an EDI file that I need to convert to XML
I have defined a dtd & xjs files
Now I need a couple of pointers on how best to 'hand' my EDI InputStream over to my JAXB set of classes
What I can't seem to figure out is how the dtd attributes will operate on the EDI InputStream in order to generate the SAX parsing events
Any thoughts ?

Does anyone know if any of the UML tools export to XML
If so - do any of these then link to JAXB in order to produce Java Source code

Try using
int nIndex = 0;
String sText = "hell\o123\4";
String.indexOf('\', nIndex);
you can then adjust nIndex and repeat to find next occurrence
etc etc
22 years ago