i strongly recommend jboss too. (you can download a version with an embedded tomcat, jboss and tomcat runs in the same vm so it's much faster). jboss is really easy to setup (a couple of environment variables, launch a script). put your.war/.ear in the deploy dir and bingo.
jboss suffers in the documentation area, but really, it's so easy to set up compared to commercial product like websphere that the readme file is enough.
>>A better reason to dislike JSP is that it doesn't enforce the seperation between content and presentation. An XML + XSLT/XSP with Cocoon is an alternative that is, IMHO a cleaner solution.
-------
i agree. the problem with xslt is i don't know any graphic artist that know what it is. is there any wysiwig xslt editor??
in the meantime, i think that jsp with a good tag library is a good compromise. java code in a jsp file should be avoided!!
anyway, i do most of my pet project with xml (generated on the fly by a servlet) and i apply an xsl stylesheet to it. i use jsp mostly as a glue (dataislands) or sometimes to generate a stylesheet.
as/400 is a pretty good machine. unfortunately, shops that use as/400 tend to believe anything ibm says to them, so they install webshere on it, and shit do i hate that product.. grrr i'm advocating to keep db2 on as/400 but at least use jboss on linux/unix or even nt. but still, many it director has a very conservative mind and strongly believe that if a product cost a lot of $$$, it's because it's good.
anyway, that was my rant. did i say that i hate websphere and visual age??
you don't get very big speed improvements by compiling java natively, and you have to emulate all the dynamic class loading, reflection and introspection (really cool stuff) gc, etc.. i've seen benchmarks recently and with the new jvm (hotspot), performance are much better than ever. not much behind c++ performance
but it's true that gui apps in java are really slow. i think it's because of the lightweight components that draw themselves, they don't use any of the os widget (except the frame) so they don't benefit from acceleration, and there's double buffering, etc.. i'm not really familliar with these topics and i don't care since i'm doing server side programming with java.
from the comments i read on slashdot, i guess that most of the posters are still in college. and i was in college i only swear by c and c++, asm, etc. but then you get a job in a large company, do some code maintenance.. oh there's a bug in that C++ app on hp-ux, talking with another class on solaris via corba.. so you look up the code to get any hint, hmm ok, it's in that method.. but the pointer, should i delete it? maybe not, etc.. so let's say you find the bug. now you gotta compile that huge app you don't know anything about. and then you can speend weeks on learning that stupid hp-ux linker, etc..
it's sad but there's a lot of shitty programmer. and shitty un-profressional consultants, etc..
at least with java, server side coding is a easy, clean, and portable accross any j2ee vendor. and the language is clean enough so you can pick up java code more easily than c++.
in fact, java is so good in those domain that even microsoft acknowledge it by ripping the ideas for ".net"
i agree that in some occasion (despite all the theorical arguments against it), multiple inheritance can be useful. in some case, i can use that little trick: you can declare an interface that has an innerclass which implements the functionality.
from what i heard about mem mangagement, hotspot is much better, and you can tweak the jvm for it.
about the finalize method, i guess it's because it's not a special method like the c++ destructor. it may be a problem, but honestly, since there's the gc in java, i rarely have to override the finalize method, compare to c++ where most of the time, you have to code a destructor mostly for deleting your pointer.
rant mode:
i've done a lot of java coding in the past years, servlet, jsp, xml, etc.. and it made me realize, despite how much i love linux, how much it is "old". the kernel is ok for me, it has all the feature i want from a kernel, but look at the mess in/etc. it would be so nice in xml. in fact i agree with a lot of stuff that miguel said in his unix suck paper. unfortunately, a lot of people reacted strongly to this. i would not be surprised if someday, there will be some kind of a fork between people that want a traditional unix (including some elitists that want their system as cryptic as possible) and those that want to cut off a lot of unix legacy for more modern design.
i have a pet project of doing a java shell: a minimal linux installation (kernel, modules, network service) with the init process spawning a jvm. i also started a JNI interface to ncurses, and building an api similar (but with much less feature) to awt to build text based java application : ). i'm sure there are a lot of similar projects, if someone has pointer to nice java developper msg board/newsgroup, please reply me.
with the difference that i'm an "evil" separatist who wants to "destroy" the best country in the world. but anyway, any discussion about quebec separation on topic is always ending up in a flamefest anyway.
anyway. i agree with you that in many ways, canada is better than the usa (the free health system being the most obvious reason that comes to my mind). but please, stop it with that jean chretien propaganda that "we are the best country in the world". i think that whole canadian patriotism is too much exagerated. did you watch the sydney's olympics? we looked like complete fools with our gigantic flags. i always laughed at the americans (or France too) about how chauvinistic (??) they are. i don't think it is a good model to copy.
want to disable all the debug code? just change the debug boolean to false. next time you'll compile, it will not compile the condition code, because since debug is *final* and set to false, he knows that this condition will always be false.
jon katz! a name i haven't heard in a long time..
I just hope japanese won't become all hermaphrodite in 10000 years
ESR can go to hell for all i care.
please read some noam chomsky.
especially about what the US did to latin america. it's not a good record.
That's a stereotype.
Girls from Québec shave.
In fact, it's in Québec that you'll find the cutest girls.
That's the only thing from Québec that interests ROC (rest of Canada), that and hockey player.
Travel in Ontario and you'll see nude dancers bar advertising "Québec Girls".
EILLE ASTIE DE TETE CARRÉE
What you are saying here is completely stupid. People from Québec can understand people from France, Belgium, Africa or Haiti without any problem.
"People from texas cannot understand people from new york". that's stupid hey? same thing.
Take your Sheila Copps Flags and choke yourself with it please.
VIVE LA LIBERTÉ, VIVE L'INDÉPENDANCE!
who cares about money?
presque,
c'est pas "tout" mais "tous"
merci.
et vive la liberte, vive l'independace!
15 fevrier 1839
http://jakarta.apache.org/struts/index.html
yes, i agree, i read it (the french translation) some years ago and it's very good.
there's marx for beginners too, much easier to read than das kapital.
i strongly recommend jboss too. (you can download a version with an embedded tomcat, jboss and tomcat runs in the same vm so it's much faster). jboss is really easy to setup (a couple of environment variables, launch a script). put your .war/.ear in the deploy dir and bingo.
jboss suffers in the documentation area, but really, it's so easy to set up compared to commercial product like websphere that the readme file is enough.
>>A better reason to dislike JSP is that it doesn't enforce the seperation between content and presentation. An XML + XSLT/XSP with Cocoon is an alternative that is, IMHO a cleaner solution.
-------
i agree. the problem with xslt is i don't know any graphic artist that know what it is. is there any wysiwig xslt editor??
in the meantime, i think that jsp with a good tag library is a good compromise. java code in a jsp file should be avoided!!
anyway, i do most of my pet project with xml (generated on the fly by a servlet) and i apply an xsl stylesheet to it. i use jsp mostly as a glue (dataislands) or sometimes to generate a stylesheet.
Struts is very interesting (a MVC framework in the spirit of the java petstore example).
also there's Cocoon if you want to do some XSLT.
as/400 is a pretty good machine. unfortunately, shops that use as/400 tend to believe anything ibm says to them, so they install webshere on it, and shit do i hate that product.. grrr i'm advocating to keep db2 on as/400 but at least use jboss on linux/unix or even nt. but still, many it director has a very conservative mind and strongly believe that if a product cost a lot of $$$, it's because it's good.
anyway, that was my rant. did i say that i hate websphere and visual age??
you don't get very big speed improvements by compiling java natively, and you have to emulate all the dynamic class loading, reflection and introspection (really cool stuff) gc, etc.. i've seen benchmarks recently and with the new jvm (hotspot), performance are much better than ever. not much behind c++ performance
but it's true that gui apps in java are really slow. i think it's because of the lightweight components that draw themselves, they don't use any of the os widget (except the frame) so they don't benefit from acceleration, and there's double buffering, etc.. i'm not really familliar with these topics and i don't care since i'm doing server side programming with java.
from the comments i read on slashdot, i guess that most of the posters are still in college. and i was in college i only swear by c and c++, asm, etc. but then you get a job in a large company, do some code maintenance.. oh there's a bug in that C++ app on hp-ux, talking with another class on solaris via corba.. so you look up the code to get any hint, hmm ok, it's in that method.. but the pointer, should i delete it? maybe not, etc.. so let's say you find the bug. now you gotta compile that huge app you don't know anything about. and then you can speend weeks on learning that stupid hp-ux linker, etc..
it's sad but there's a lot of shitty programmer. and shitty un-profressional consultants, etc..
at least with java, server side coding is a easy, clean, and portable accross any j2ee vendor. and the language is clean enough so you can pick up java code more easily than c++.
in fact, java is so good in those domain that even microsoft acknowledge it by ripping the ideas for ".net"
skinny puppy.
i agree that in some occasion (despite all the theorical arguments against it), multiple inheritance can be useful. in some case, i can use that little trick: you can declare an interface that has an innerclass which implements the functionality.
/etc. it would be so nice in xml. in fact i agree with a lot of stuff that miguel said in his unix suck paper. unfortunately, a lot of people reacted strongly to this. i would not be surprised if someday, there will be some kind of a fork between people that want a traditional unix (including some elitists that want their system as cryptic as possible) and those that want to cut off a lot of unix legacy for more modern design.
from what i heard about mem mangagement, hotspot is much better, and you can tweak the jvm for it.
about the finalize method, i guess it's because it's not a special method like the c++ destructor. it may be a problem, but honestly, since there's the gc in java, i rarely have to override the finalize method, compare to c++ where most of the time, you have to code a destructor mostly for deleting your pointer.
rant mode:
i've done a lot of java coding in the past years, servlet, jsp, xml, etc.. and it made me realize, despite how much i love linux, how much it is "old". the kernel is ok for me, it has all the feature i want from a kernel, but look at the mess in
i have a pet project of doing a java shell: a minimal linux installation (kernel, modules, network service) with the init process spawning a jvm. i also started a JNI interface to ncurses, and building an api similar (but with much less feature) to awt to build text based java application : ). i'm sure there are a lot of similar projects, if someone has pointer to nice java developper msg board/newsgroup, please reply me.
i agree with you,
with the difference that i'm an "evil" separatist who wants to "destroy" the best country in the world. but anyway, any discussion about quebec separation on topic is always ending up in a flamefest anyway.
anyway. i agree with you that in many ways, canada is better than the usa (the free health system being the most obvious reason that comes to my mind). but please, stop it with that jean chretien propaganda that "we are the best country in the world". i think that whole canadian patriotism is too much exagerated. did you watch the sydney's olympics? we looked like complete fools with our gigantic flags. i always laughed at the americans (or France too) about how chauvinistic (??) they are. i don't think it is a good model to copy.
i'm speculating here but i think it could be easily done..
write an app that use the root window (like xsnow) embed gecko, and load your desktop page..
e.
ahahaha!!!
francais? quebecois? belge?
no need for hotspot, you can already do some kind of debug code without a need for a pre-processor.
// blablabla
class MyClass {
static final boolean debug = true;
public void mymethod() {
if(debug) {
}
}
}
want to disable all the debug code? just change the debug boolean to false. next time you'll compile, it will not compile the condition code, because since debug is *final* and set to false, he knows that this condition will always be false.
>> including of course Poutine (those crazy frogs).
ferme donc ta gueule osti d'tête carrée!
maybe the moderators should check the link before..
yes, but in canada, we have SKINNY PUPPY !!!
i agree!
flamebait even if it was a valid and well formed argument?? good work slashdot !