| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> which one? <1> comments elsewhere leads me to believe it's SJSAS 9 <2> what's that? <1> gee0: an application server <1> or "Sun Java System Application Server", if one prefere overly long names <2> oh (+: ok. i'll get me a real mind one of these days, instead of these cheap 'authentic' cells <3> after getting a ResultSet from Statement.executeStatement why can ResultSet.next() throw a SQLException? Does it still use the database? Aren't the rows already coppied into the ResultSet object? thanks <0> noonehere: it doesn't fetch them immediately, no <3> and would an SQLException be thrown if for ex., some other application modifies the table and removes one row and after calling ResultSet.next() that row would've been at the cursor? <1> noonehere: not if you perform your query in a transaction <4> noonehere: it is up to the jdbc driver to do or not do such things. unless you know the implementation details you cannot make too many useful ***umptions in that area. <4> noonehere: that's up to the db engine and jdbc drivers... <3> ok, thank you <4> no problem <1> meh.. I have no real trouble developing an application with allt he functionality I can wish for, but actually layingout the webpages.. now -that- is a headache <5> wlfshmn: that should a web designer do
<1> sure, if I had one ;) <5> :)) <1> there we go.. somewhat properish looking <0> back <6> hi <4> hi <7> re <1> re2 <7> how goes wlfshmn <1> just fine, my code seems to be coming togeather, and even my lame attempts at html layout are wokring <1> I expect my computer will catch fire any minute now, to prevent the day from beeing overly productive <7> lol <7> Good job :P <8> Can i add a button on a SAG, or I must use a Frame ? <9> what is CIF ? <10> something to look up on google I think. <9> in the context of a job listing for "CIF 2.0/JSF Programmer" <9> i can't find anything about it <10> then I guess it doesn't make sense to apply :P <9> ha <9> tell me! <7> whodis: <11> Lion-O : lol, that ***umes however the PM or human resources guy has a clue about CIF 2.0 <7> Er <7> whodis: http://en.wikipedia.org/wiki/QCIF <7> Common Intermediate Format, I believe. <7> (I was curious too :P) <9> how does video resolution on the client relate to jsf <7> I have no idea. <4> same way as it does to any other htmlish stuff? <7> That looks like the closest candidate match for that particular acronym though. <0> re <12> halo <12> apa di sini orang jawa semua <12> halooo' <13> Question: I am trying to build my Java application (using Ant in Eclipse) and it fails with an out of memory error. I have plenty of memory (1GB and about 300MB available at the time of trying to build). Why would this happen? <0> icenyne: because the compiler doesn't have enough ram <0> ? <4> using ant, eclipse and what not else and not knowing about the default memory limits in the sun jvm? ;| <4> ****s big time <4> not to mention what google would bring up on the exact exception name... <13> what are the default memory limits <4> icenyne: excellent question. look it up at google? <13> im looking <13> how can i change those settings in eclipse? <4> icenyne: no clue. <4> several layers to see through, it could be a setting in eclipse, or in the ant build file. <3> if a cl*** constructor has arguments defined as interfaces, and I try to call Cl***.getConstructor p***ing a list of cl*** instances that implement those interfaces I get NoSuchMethodException. What is a way around this? Thank you. <4> very confusing, isn't it? that's one reason why i don't use IDEs. i am too simpleminded for them. <4> noonehere: create a test case possibly. <4> and yes, that means "no clue until i have something to play with" <3> what do you mena? <4> noonehere: What is a test case? Why would you write one? See http://javafaq.mine.nu/lookup?22 (to show what you are *really* doing) Paste test case and any error messages to http://papernapkin.org/pastebin or another pastebin <3> do you think that the exception is caused by something else? <4> i have no idea. without code i can't comment. <3> i'll write a sketch code <4> that's no use to me. maybe someone else can interpret that. <4> the point is to see what you are really doing, not what you are claiming to do. <4> there is very often a large gap between the two, on irc. <3> there are a lot of cl***es to paste, and so I'd have to select parts of the code, this would lead to the same thing as pasting a sketch
<3> http://papernapkin.org/pastebin/app/view/785 <4> i don't want to waste your time. but i don't want mine wasted either. and a test case is a good way to prevent that, often. <3> i don't understand what you mean by test case. i replaced the part where I get the cl*** of an object with getCl***().getInterfaces(0) and it works <13> OK, im now running ecllipse with these args... eclipse.exe -Xms256M -Xmx512M but for some reason its still saying im out of memory. does this not affect the memory settings for the JVM? <4> noonehere: What is a test case? Why would you write one? See http://javafaq.mine.nu/lookup?22 (to show what you are *really* doing) Paste test case and any error messages to http://papernapkin.org/pastebin or another pastebin <4> icenyne: what makes you think that it is the eclipse process which runs out of memory? maybe it spawns another process to run ant? are you really sure you want to keep using these tools? <4> i'd be soon fed up with my inability to deal with them and resort to simpler mechanisms and tools. <10> icenyne: Clackwell is right. Although I can't comment on Eclipse (using netbeans myself) that is likely to affect the ide only. <4> icenyne: besides...**LARGE** java ides like eclipse and netbeans might have the memory limit disabled altogether, else they wouldn't be able to keep up with growing projects and would require constant adjustment of the way they are being started. <4> that would piss a lot of people off. :) <10> hehehe, aye <14> But they don't. They have some defaults set, and these are fairly low. <4> "oops, not enough memory to save your project settings. up the memory and try again, after reapplying your config changes. thanks, bye." <4> crookery: odd then to never hear of them to run out of memory, esp. with people reporting netbeans and eclipse growing into the 500 mb ram range with relative ease. <10> Clackwell: now that is evil indeed ;) ooh, what a nice netbeans april 1 module that would make. <14> icenyne: eclipse -vmargs "-Xmxwtf" <13> thats what i figured. i will try using netbeans to see if that works but like you said i would ***ume that it is not the IDE at all and most likely settings within the compiler or JVM. i am trying to figure out how to run the javac with more memory allocated but havent found any resources yet <13> hahahahahaha <13> cute <14> icenyne: I don't think Eclipse automagically p***es all unqualified arguments to Java. <14> icenyne: Also, in Eclipse, Window->Preferences->General->Show Heap Memory, then look at the bottom right of your display. <10> ant scripts come to mind. afaik eclipse use those too. <4> icenyne: also see if there are related reports of just ant running out of memory. perhaps there is a setting for tweaking ant outside of eclipse. so all the searching around in eclipse would be waste then. <14> javac with more memory? javac -J-Xmx512 <4> could be, rather. <4> (but then i guess ant and netbeans come along with their own copies of ant, somewhat integrated?) <10> Clackwell: no idea about that. afaik ant isn't integrated but I don't have much experience with that (yet). <14> Netbeans bundles ant, but I don't think it's a modified ant. <1> crookery: I find clackwell quite parseable <4> well, i would be astonished if eclipse and netbeans would use the standard scripts to run out though... <14> wlfshmn: How may ant come along with its own copy of ant? <14> Surely that's only possible in the Netherlands. <10> here, let me show you my default ant-script! <pastes 30 lines of useless stuff> :P <14> Eclipse bundles ant, but afaik doesn't use it for anything. <14> In Eclipse, NIH reigns. <13> i dont see show heap memory anywhere <14> NotInventedHere. <14> icenyne: What Eclipse version? <13> 3.0 <14> icenyne: Duh. <1> crookery: I'm (all too) well aware of what NIH means. <14> 3.3M1 is out.. <1> crookery: We have our own set of .NET controlls, replacing the entire default set provided my Microsoft. <13> yeah i know but i have issues getting it to work with this code <4> run, forrest, run, go fetch the next milestone! <14> wlfshmn: Can you list the acronyms that you know somewhere so that I don't make that mistake again? ;) <14> icenyne: In what way? <1> oh, and our own modelling tool, and our own revision control clients, and our own database access gateway.. <13> oh somethign to the effect of it wont open if i install the swt plugins <13> thats with 3.1 <13> ill try 3.3 <14> wlfshmn: I wrote my own XUL equivalent, xstream equivalent, test framework, layout managers and IP stack. <4> <thumbs up> never too late to try the latest and greatest :) <10> Clackwell: thats it, no Forrest Gump movie for you tonight ;) <1> crookery: ouch <14> icenyne: I've never developed anything that uses SWT. <14> wlfshmn: Nah, it's fun, good for learning. <1> crookery: we did a partial NCP implementation once, that was a pain in the rear to say the least <14> wlfshmn: The IP stack is the only thing-of-any-size there. <10> Clackwell: Hm, I wonder btw. Do you ever use ant scripts in your cli (I ***ume, or perhaps just non-ide) projects? <13> it says 3.2 is out <13> dont see 3.3 <9> when somebody says, "we execute against their code", do they mean that anything "we" wrote is instantiated by someone else? <14> icenyne: Maybe it's not properly out, but it exists. 3.2 will do anyway. <13> gotcha <4> Lion-O: no. i cannot justify burden my co-workers with ant stuff. i would be the one to maintain the build scripts. and i don't feel like burdening myself with extra work. besides all we need are a handful of not too complicated scripts to build our windows-only project anyway. <4> burdening, rather <14> ant isn't a scripting language anyway. <10> Clackwell: ah ok. <14> I don't know what the best approach is, but I'm probably gonna have a bash(tm) at using a scripting language or Java to drive my build, ***isted by ant.
Return to
#java or Go to some related
logs:
#c #javascript #gentoo Rome ruin is inhabited by hundreds of cats zzkal #linux #AllNiteCafe #javascript ninhexa
#AllNiteCafe
|
|