Ultimately, the CLASSPATH is good for you. I don't really understand what the problem is with adding another jar file to this environment variable. If you insist on being lazy, then rejar everything into one big jar. Ant can help you do that.
Re:Making it small is the trick
on
Latest SP2 News
·
· Score: 1
MS has taken the concept of MAC and rebranded it CAS
Wrong. CAS has the semantics of demand, assert, deny, and permitonly which is very different from MAC.
Interesting. I use Mozilla 1.7.1 and I couldn't find an import from vcard or vcf in the GUI anywhere. The specific dialog mentions ldif, csv, tab, and txt but no vcf.
Can anyone recommend some decent books on EJB's, or is it not worth the bother?
I used to teach at USF. I had a simple sample application coded many different ways for the students to study. You can find that sample code on this page, http://testbox3.menlo.edu/demo/ism410/faves.html.
The last two code samples linked from this page feature EJB code. One uses a stateless session bean and the other one also uses a Bean Managed Persistance entity bean.
This is a little out of date but the samples were designed to be illustrative of the concepts. It is as simple yet functional an example as you are bound to find.
Whether or not EJBs are worth the bother is a different question. If you are in a situation where an object/relational mapping in an unclustered environment is optimal, then consider EJB technology. But don't use it too much. Use it at a high level of granularity. Don't bother to use it to display summary data or while the user is drilling down. The advantage is it provides a nice place to hang business logic in an n-tier architecture where database vendor neutrality is important. The disadvantage is the excessive boilerplate and cognitive overhead that it needs and the very dreaded and hard to fix "excessive loads and stores" problem.
Wouldn't you know it? I wrote a vcard to ldif converter this weekend to move my wife's address book from kaddressbook to Mozilla. If only I had waited one more week.
I wish employers/customers would take a look at the verity of your programming skills and not the number of years programming in one language. So what if you have 10 years of programming VB. Even if you have to program a VB app if you see a person with 3 years experience in VB and 7 Years in a buch of other languages it shows that this guy know how to program and is flexible to work around problems.
You would be amazed at the number of technical interviews I give where the applicant lists both VB and C++ yet cannot even tell me what a pure virtual member is.
I does seem apocryphal that 6.7% of these business students became millionaires. Perhaps most of them were already millionaires (or children of millionaires) before they started school?
If you look at some of the more serious projects today, you will find that, although the software is released free of encumberances, most of the developers were paid to do the work (e.g. Netscape, Apache, Linux).
In CDF, the feed author specifies a window of time and the reader is supposed to randomly choose when in that window to fetch the data. Not as fancy as media filtering protocols such as those used by bit torrent but better then what RSS provides.
it's unfortunate that it (RSS) is ultimately just very stupid.
The folks over at Netscape and/or UserLand should have studied the CDF standard first. Then they would have realized the value of specifying schedule information.
it (VS.NET) takes care most of the mundane details where you can just focus on the problem itself
Hmmm, what features of the VS.NET IDE do that?
No matter how great a programmer you are, if you don't use an IDE to increase productivity, then you're just plain missing the point
What types of productivity increase are you referring to? Statement completion and code generation reducing the number of keystrokes? IMHO, the real gains in productivity are in a judicious choice of architecture including selecting, understanding, and using the right framework for the job.
I was wondering why the sea change around here. It seemed to me that the/. crowd's stance before the Novell acquisition was "don't touch mono as it is a poison pill from Microsoft." What I'm hearing you say is that the/. crowd feels that any program written to the GTK# stack is not vulnerable to any future Microsoft IP claims.
In what ways would you say mono is not quite ready yet?
To test the 1.0 version of mono after installing it, I attempted to run an nunit test of a middleware assembly (no GUI) that I coded for the ISV that I work for. The test runs without mishap using Microsoft's VM but crashes when using the mono VM.
I get this message (with different line numbers) 2863 times.
If I could figure out how to get linux to use a smartcard reader via the parallel port, then I could get rid of three old computers. Otherwise, I'll have to keep that old Windows 95 box until I break down and get a USB reader. At least, I get to get rid of two old computers.
From a development perspective, it's hard to be in the tool space. O.S.S. contributes to this affect as does Microsoft itself. Why purchase Mind Genius when I can just download and use Free Mind for free? Why purchase Eudora when Outlook Express is already bundled (for typical users) with the machine?
Does OSS hurt I.T., E.R.P., or niche programming? No. In fact, O.S.S. enables development in these spaces dramatically by lowering the barrier to entry.
I read the previous edition, and my feeling then was that it, between the lines, sang the gospel of Pair Programming
I read that book but I didn't get that impression. Code Complete certainly emphasizes the importance of code reviews. Pair programming is not really a code review although I can see how you might think of it as a code review while you type. Real code review should happen after the programmer thinks that (s)he is done.
The "arbitrary XML" part. You must have existing mappings set up to process the XML. New forms of XML thus require a great deal of work on the part of the DB developer.
...in reply to...
A generic mapping to a relational database is that elements correspond to the entity tables, attributes correspond to columns in those tables, and the nesting of elements is modelled as a foreign key in the child entity records.
Is basically that this approach is not generic enough. I have two thoughts on that. Real world XML usage tends to rely on a predefined schema so the original poster's suggestion would probably be good enough for most applications. The second thought is that if you really needed a more generic XML to relational mapping, then just set your database schema to what is truly invariant in XML.
create table XMLTag ( XmlTagID int primary key not null, Name varchar(50) not null )
create table XMLAttribute ( XmlAttributeID int primary key not null, Name varchar(50) not null, Value varchar(250) not null, XmlTagID int not null foreign key references XmlTag )
create table XmlHierarchy ( XmlHierarchyID int primary key not null, ParentTagID int foreign key references XmlTag(XmlTagID), ChildTagID int foreign key references XmlTag(XmlTagID) )
The advantage of the original poster's XML to SQL mapping is better performance. You could write a single SQL select for any given XPATH. This second approach is more generic but more procedural in the mapping of SQL to XPATH.
I completely agree. COM is all about reference counting. If the number of Release calls doesn't cancel out the number of AddRef calls, then your app either crashes or leaks. This does not scale in complexity very well at all. Smart pointers and the VB runtime are just bandaids to the problem. They don't elegantly handle problems where it is unclear who should do the release or in such cases as circular references. On the other hand,.NET objects are truly garbage collected which really is the proper way to address the issue for non-realtime apps.
MS has done an excellent job providing "Interop" tools for.NET code to talk to COM components
Have you ever tried getting.NET to interopt with an MFC ActiveX control? Doh!
Would you rather have to depend on the system registry?
Ultimately, the CLASSPATH is good for you. I don't really understand what the problem is with adding another jar file to this environment variable. If you insist on being lazy, then rejar everything into one big jar. Ant can help you do that.
Wrong. CAS has the semantics of demand, assert, deny, and permitonly which is very different from MAC.
Interesting. I use Mozilla 1.7.1 and I couldn't find an import from vcard or vcf in the GUI anywhere. The specific dialog mentions ldif, csv, tab, and txt but no vcf.
I used to teach at USF. I had a simple sample application coded many different ways for the students to study. You can find that sample code on this page, http://testbox3.menlo.edu/demo/ism410/faves.html.
The last two code samples linked from this page feature EJB code. One uses a stateless session bean and the other one also uses a Bean Managed Persistance entity bean.
This is a little out of date but the samples were designed to be illustrative of the concepts. It is as simple yet functional an example as you are bound to find.
Whether or not EJBs are worth the bother is a different question. If you are in a situation where an object/relational mapping in an unclustered environment is optimal, then consider EJB technology. But don't use it too much. Use it at a high level of granularity. Don't bother to use it to display summary data or while the user is drilling down. The advantage is it provides a nice place to hang business logic in an n-tier architecture where database vendor neutrality is important. The disadvantage is the excessive boilerplate and cognitive overhead that it needs and the very dreaded and hard to fix "excessive loads and stores" problem.
Wouldn't you know it? I wrote a vcard to ldif converter this weekend to move my wife's address book from kaddressbook to Mozilla. If only I had waited one more week.
That's not all. Other J2SE apps that I personally use are...
You would be amazed at the number of technical interviews I give where the applicant lists both VB and C++ yet cannot even tell me what a pure virtual member is.
I does seem apocryphal that 6.7% of these business students became millionaires. Perhaps most of them were already millionaires (or children of millionaires) before they started school?
Why is Mozilla for novices and Firefox and Thunderbird for intermediate users?
This is what I do when I run into one of those mysterious "blank screens."
This gets me past the "blank screen" problem about 75% of the time.
It may be an issue with the 3d accelerated video card driver that I use but q3a needs to run as root on my RedHat 6.1 box.
If you look at some of the more serious projects today, you will find that, although the software is released free of encumberances, most of the developers were paid to do the work (e.g. Netscape, Apache, Linux).
In CDF, the feed author specifies a window of time and the reader is supposed to randomly choose when in that window to fetch the data. Not as fancy as media filtering protocols such as those used by bit torrent but better then what RSS provides.
The folks over at Netscape and/or UserLand should have studied the CDF standard first. Then they would have realized the value of specifying schedule information.
Hmmm, what features of the VS.NET IDE do that?
No matter how great a programmer you are, if you don't use an IDE to increase productivity, then you're just plain missing the pointWhat types of productivity increase are you referring to? Statement completion and code generation reducing the number of keystrokes? IMHO, the real gains in productivity are in a judicious choice of architecture including selecting, understanding, and using the right framework for the job.
I got a redhat sticker when I bought the box for version 5.2 many years ago.
I was wondering why the sea change around here. It seemed to me that the /. crowd's stance before the Novell acquisition was "don't touch mono as it is a poison pill from Microsoft." What I'm hearing you say is that the /. crowd feels that any program written to the GTK# stack is not vulnerable to any future Microsoft IP claims.
To test the 1.0 version of mono after installing it, I attempted to run an nunit test of a middleware assembly (no GUI) that I coded for the ISV that I work for. The test runs without mishap using Microsoft's VM but crashes when using the mono VM.
I get this message (with different line numbers) 2863 times.
I get this message 38 times.I hate to break the news to you but mono is not quite ready yet.
If I could figure out how to get linux to use a smartcard reader via the parallel port, then I could get rid of three old computers. Otherwise, I'll have to keep that old Windows 95 box until I break down and get a USB reader. At least, I get to get rid of two old computers.
From a development perspective, it's hard to be in the tool space. O.S.S. contributes to this affect as does Microsoft itself. Why purchase Mind Genius when I can just download and use Free Mind for free? Why purchase Eudora when Outlook Express is already bundled (for typical users) with the machine?
Does OSS hurt I.T., E.R.P., or niche programming? No. In fact, O.S.S. enables development in these spaces dramatically by lowering the barrier to entry.
I read that book but I didn't get that impression. Code Complete certainly emphasizes the importance of code reviews. Pair programming is not really a code review although I can see how you might think of it as a code review while you type. Real code review should happen after the programmer thinks that (s)he is done.
You posted...
The "arbitrary XML" part. You must have existing mappings set up to process the XML. New forms of XML thus require a great deal of work on the part of the DB developer. ...in reply to...
A generic mapping to a relational database is that elements correspond to the entity tables, attributes correspond to columns in those tables, and the nesting of elements is modelled as a foreign key in the child entity records.Is basically that this approach is not generic enough. I have two thoughts on that. Real world XML usage tends to rely on a predefined schema so the original poster's suggestion would probably be good enough for most applications. The second thought is that if you really needed a more generic XML to relational mapping, then just set your database schema to what is truly invariant in XML.
The advantage of the original poster's XML to SQL mapping is better performance. You could write a single SQL select for any given XPATH. This second approach is more generic but more procedural in the mapping of SQL to XPATH.
I completely agree. COM is all about reference counting. If the number of Release calls doesn't cancel out the number of AddRef calls, then your app either crashes or leaks. This does not scale in complexity very well at all. Smart pointers and the VB runtime are just bandaids to the problem. They don't elegantly handle problems where it is unclear who should do the release or in such cases as circular references. On the other hand, .NET objects are truly garbage collected which really is the proper way to address the issue for non-realtime apps.
MS has done an excellent job providing "Interop" tools forHave you ever tried getting .NET to interopt with an MFC ActiveX control? Doh!
I don't get it. The arrows for C and C++ stop before 2002. Does that mean those languages are dead? News to me.