| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<tnk-> tree.addActionListener(new ActionListener() { <MXV> idiot <jjava> idiot is http://home.swiftdsl.com.au/~raza/idiot.jpg <MXV> foer faen <HexDump> hi all! <shaneC> ..bcos egold is such a ***** to get besides account transfer between egold accounts :P <shaneC> Could someone please donate link $1 USD of e-gold to 2516772, I`m willing to help with any problem in advance for this... <CyTG> wonder if anyone actually donates to that account!! <harvester> http://www.thinkgeek.com/cubegoodies/toys/69de/ <GnarlyBob> slang nature's rubiks cube <Huvet> what is the prefered way to tokenize a file in java 1.4? I'm trying with new StreamTokenizer(new FileInputStream(file)) and get a deprecated warning <GnarlyBob> Huvet: have you looked at the API docs for StreamTokenizer? <Huvet> yes, they suggest new BufferedReader(new InputStreamReader(is)); <Huvet> but that doesn't take a file <Huvet> aha! InputStreamReader does take an inputstream <calavera> Buenos dias, I have a question <Huvet> thanks, worked :) <calavera> How can I make a random number, let's say on the interval [1,9], except the number, let say 5? <Huvet> calavera: check for that number and if it occure pick a new random number <Huvet> while (num = 5) random = Math.random... <calavera> Yes, I see. Thank you, muchas gracias <roots-> yukk <roots-> just add 1 if number is >= 5 <roots-> getting a new random is very ungaussian <Obeliks> ah <Obeliks> missed the > <Obeliks> was just wondering if that wouldn't screw up the distribution even more... <Obeliks> but with >= it seems fine though... <Obeliks> just makes a gap in the middle ;) <Huvet> roots-: smart move, I'll remember that <Huvet> calavera: did you notice? <calavera> Yes, I did <calavera> I'll check it out <HexDump> una cosilla, estoy compilando unos fuentes y me dice que hay cosillas "deprecated" o no seguras. Dice que ponga -Xlint:unchecked en la linea de comandso para mas info, lo pongo pero me sigue saliendo lo mismo :/, como puedo obtener mas info? <Huvet> wo, strange language... spanish? <HexDump> ****!, sorry <drazQ> hmm, forgot to turn on your babelfish? <HexDump> i thought I was at the java spanish chan <HexDump> nah <HexDump> sorry again. <HexDump> and yes, it's spanish <calavera> A beautiful language! <calavera> Spanish <jjava> Spanish is my native language. <calavera> Lucky you <websherif> I`m trying to get Hibernate to work with Tapestry4. As T4 is built upon HiveMind I thought that it could be injected as some kind of hivemind service. Then I found Hivetranse that does exactly that... Now the problem is that I havn`t seen much feedback from people using hivetranse, and I would like to hear what people have to say about it (good or bad) <boxed> why in gods name? <websherif> boxed, are you asking me? <boxed> yes <boxed> why in gods name use tapestry? <websherif> because it is a nice and powerful framework for building webapps? <websherif> boxed, some constructive critisism please.. <boxed> use something that's not crap? look into webwork <websherif> webwork costs money. that I don`t have. <Epesh> tapestry isn't bad <Epesh> websherif: it does? WHy? <Epesh> Webwork is open source, freely downloadable <drazQ> websherif: didn't we go through this two days ago? <Epesh> how does it cost you money? <websherif> maybe I am confusing it with something else. wait... <Epesh> webobjects, perhaps <Epesh> but webwork is just as available as tapestry is <boxed> webobjects is free too <Epesh> and a lot simpler <boxed> you do have to own a mac though... but that's a one time cost of pretty much nothing now with mac minis <websherif> why do I need to own a mac?! <Epesh> boxed: I thought webobjects was pure java now? <boxed> you get webobjects for free with OSX <boxed> epesh: it is <boxed> and the development tools are for OSX, not pure java, and they're pretty nice <websherif> boxed, so what are the advantages of using webworks vs. Tapestry? <websherif> have you been looking into T4. there are some nice new things there. <Epesh> websherif: webwork isn't a compnent model rendered on web <harvester> and what about jsf? <Epesh> fundamental differences. However, one thing in webwork's favour is simplicity. Ask questions on webwork, sure, but th curve is shallow. <boxed> there's no s at the end coincidentially... just "webwork", and the 1.x branch at least is small, elegant and very flexible... the 2.x branch I can't speak for <Epesh> tapestry and JSF both require more koolaid than webwork. <boxed> harv: JSF is bloatware <Epesh> boxed: the 2.0 branch is very flexible, but less small :) <Pokari> Anyone knows how to get rid of that white space around the actual HTML content in a webpage? I have a single page with a small applet in, but I can't get rid of that white space around it. <boxed> epesh: that's bad <ordain> Spring is a usable replacement for webwork <boxed> pokari: #html <harvester> there are nice components available for jsf <ordain> (Spring is much more than that though) <Epesh> boxed: necessary for the concept though <Epesh> ordain: I don't think so <harvester> and IOC is possible with managed beans <Epesh> I think spring+webwork is a better approach <ordain> Epesh: not usable? <Pokari> boxed: I tried #HTML but no one is awake :) <ordain> spring+webwork might be better yeah... but I tried just Spring for a small thing and it worked pretty well... I've not tried doing more complex things <boxed> harv: you can also build a servlet engine inside JSF and put webwork inside that... but it's still stupid <ordain> with Spring MVC that is <websherif> god.. this framework hell is confusing. :/ I think I will stay with Tapestry as it seem to be powerful and quite easy to use. the spindle plugin for eclipse makes it even easier. <Epesh> websherif: hee hee hee <Epesh> I fully agree, though - web frameworks suffer from the tyranny of choice <websherif> yeah choice is a frustrating thing.. <ordain> In communist China there is only one web framework <Epesh> websherif: the ones I'd choose from, in no particular order: webwork, struts, JSF, tapestry, wicket <websherif> then I have to choose a DB layer, and then a way to combine my framework with this layer etc. etc. etc...! <Epesh> that doesn't mean other frameworks aren't workable or good, but that's the set I'd examine <ordain> you'd consider JSF Epesh? <Epesh> ordain: absolutely <ordain> ok <Epesh> I'd expect you to be more surprised by my inclusion of struts than JSF <xd> springmvc works for me, and yea i was more suprised at the inclusion of struts there <Epesh> xd: I don't think spring mvc is inviable (i.e., I do think it's viable) <ordain> well, close call between sturst and JSF ;) <Epesh> but I don't think it's really something I'd use in anger <Epesh> JSF has one thing behind it: industry <ordain> true <Epesh> I made a bet with Doug Bateman (with real money) that JSF would die in two years, replaced by something else, but I think that the "something else" will have killed JSF to become the next official framework <Epesh> Doug and Kito Mann both disagreed, as expected <Epesh> but hey <ordain> 2 years is a pretty short time... <Epesh> I don't think JSF is all that viable. <Epesh> besides, it wasn't quite so simple: we ave actual metrics to use, and I fully anticipate collecting my money <ordain> ah <ordain> fun :) <boxed> viability has very little to do with mortality in this industry unfortunately <Epesh> boxed: indeed. But I still made the bet. <Epesh> I think JSF isn't as bad as it could have been, and it's certainly getting better <Epesh> what an endorsement on my part, eh <loke_> Epesh: I took a quick look at JSF and realised I needed ****loads of XML hackage just to get a single widget on a page <loke_> Epesh: seriously, what were they thinking? <Epesh> loke_: "tools!" <loke_> Epesh: sounds great. but THERE ARE NO TOOLS! <Epesh> That's the crux of why I think JSF has limited life <Epesh> loke_: oh, you're very wrong <Epesh> there are lots of good tools for JSF <loke_> Epesh: oh yeah? where's the IDEA plugion then? :-) <fate> Epesh: it won't be killed <Epesh> the problem with JSFis that without tools, it's a maze of twisty little p***ages, all enough to piss you off <Epesh> loke_: none that I know of for IDEA <fate> Epesh: struts still exists ,and it isn't even a standard <Epesh> but eclipse has a shedload of them <Epesh> fate: sure <Epesh> but Doug and I were betting on ascendancy, not necessarily "abandonment" <Epesh> all right, field trip to go to <Epesh> see you blokes later <loke_> Epesh: link me to a decent JSF tool <websherif> damn ISP.. <xd> i'd expect the ides from the major commercial vendors to have jsf support now <xd> but all i use is IDEA so i can't back that up <chocoman> JSF-is-here-Struts-is-dead
Return to java or Go to some related
logs:
beginner beginner openvpn bandbreite gaim 2 beta
|
|