 |
 |
Index ‹ java-programmer
|
- Previous
- 1
- JTable size adjustment after addrow(), JScrollPaneHi all.
Basically I'm doing the following:
--snip--
DefaultTableModel myTableModel=
new DefaultTableModel(new String[] {"header1","header2"},0);
JTable myTable=new JTable();
myTable.setModel(myTableModel);
TableScrollPane.setViewportView(myTable);
--snap--
When I do some myTable.addrow(...)s, the table is not resizing istself
appropriately, resulting in data being "cut off" at the bottom.
Does anyone know how to correctly adjust a table's preferred size (or
whatever) after changing its contents to fit the new row count and thus
making it usable in a ScrollPane?
Many thanks in advance,
Maximilian
- 2
- 3
- Plottin a pixel...Hei!
How to write a single pixel with Java applet and OPENGL...
JariTapio/Helsinki/24may2005
www.EuroJari.com
- 3
- Anyone have any experience with WebLogic 8?Hello, I have just installed WebLogic 814 for Solaris 8. The machine
is in a remote location, so I did all the installation remotely. My
question is, how do I create a data source? I am used to WL 5 with the
weblogic.properties file, but WL 8 seems different.
Any help is greatly apprciated, - Dave
- 4
- launch java(swing) applications from c/c++ on mac os xI want to launch a java application, which has lots of swing stuff in
it, as also underlying algorithms running. I work on Mac OS X 10.3.8,
and have Java 1.4.2_05(latest). I tried to launch AWT components like
Frame,Panel, etc and it worked fine, but swing won't. I discovered that
the code by default loads Java 1.3.1, and JNI 1.2, and hence no swing
is supported. Can someone help me out? Thanks in advance. Here is a
snippet of the native(c) code:
JNIEnv* create_vm() {
JavaVM* jvm;
JNIEnv* env;
JavaVMInitArgs args;
jint jintVMStartupReturnValue;
//JavaVMOption options[1];
JavaVMOption options[15];
args.version = JNI_VERSION_1_4;
args.nOptions = 15;
options[0].optionString =
"-Djava.class.path=/Users/avisere12/Desktop";
options[1].optionString =
"-Dsun.boot.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries";
options[2].optionString = "-Xms16M";
options[3].optionString = "-Xmx512M";
options[4].optionString = "-Duser.dir=/Users/avisere12/Desktop";
options[5].optionString =
"-Djava.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home";
options[6].optionString =
"-Djava.ext.dirs=/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/ext";
options[7].optionString =
"-Dsun.boot.class.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/charsets.jar";
options[8].optionString = "-Djava.runtime.version=1.4.2_05-141.4";
options[9].optionString =
"-Djava.awt.graphicsenv=apple.awt.CGraphicsEnvironment";
options[10].optionString =
"-Djava.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/lib/endorsed";
options[11].optionString = "-Djava.vm.info=mixed mode";
options[12].optionString = "-Djava.version=1.4.2_05";
options[13].optionString = "-Djava.vm.version=1.4.2-38";
options[14].optionString = "-Dawt.nativeDoubleBuffering=true";
args.options = options;
args.ignoreUnrecognized = JNI_TRUE;
jintVMStartupReturnValue = JNI_CreateJavaVM(&jvm, &env, &args);
return env;
}
void invoke_class(JNIEnv* env) {
jclass helloWorldClass;
jmethodID mainMethod;
jobjectArray applicationArgs;
jstring applicationArg0;
helloWorldClass = env->FindClass("com/mypack/pack/MyJava");
if(helloWorldClass == 0){
printf("Class not found\n");
fflush(stdout);
}
else{
printf("Class found and about to be loaded\n");
fflush(stdout);
}
mainMethod = env->GetStaticMethodID(helloWorldClass, "main",
"([Ljava/lang/String;)V");
applicationArgs = env->NewObjectArray(1,
env->FindClass("java/lang/String"), NULL);
applicationArg0 = env->NewStringUTF("yahoooooooo");
env->SetObjectArrayElement(applicationArgs, 0, applicationArg0);
env->CallStaticVoidMethod(helloWorldClass, mainMethod,
applicationArgs);
}
int main(int argc, char **argv) {
JNIEnv* env = create_vm();
invoke_class( env );
}
Here is the error which I get, more so when i try to run JNI 1.4:
2005-03-22 11:24:56.399 myapp[628] Apple AWT Java VM was loaded on
first thread -- can't start AWT.
Class not found
Bus error
I tried providing various optons as vm arguments, but got the same
errors as above.
- 5
- Thanks again sincerely Senator Barack Obama for your TagFrom: "Craig Oral Somerford" <email***@***.com>
Date: Jul 20, 1:16 pm
Subject: Fwd: Thank you Wal-mart... & From 2Barter's Google.Org
To:"Mr Barack Obama {On YouTube?}" <email***@***.com>,
Thank you Sincerely For you Tag Mr BarackObama
http://my.barackobama.com/page/community/post/craigoralsomerford/CXWz
"{2Barter's Google.Org}" http://my.barackobama.com
From: 2Barter.net <email***@***.com>
Date: Jul 7, 2007 10:58 PM http://www.2Barter.net
Subject: Calling all Contractors
To: "Mr Barack Obama" <email***@***.com>,
From:"{2Barter's Google.Org}" <email***@***.com>
Date: Jul 20, 2007 1:08 PM
Subject: Thank you Wal-mart... & From 2Barter's Google.Org
To:"{Steve Capus}" <email***@***.com>,
Cc:http://www.youtube.com/watch?v=wFGG6AjzZI4
Cc: Lee Scott Jr <email***@***.com>
Bcc: DONALD J. TRUMP
Welcome to Googlies new Jukebox
http://www.youtube.com/watch?v=7reY8OyYmLI
From: Craig oral Somerford <[email address]>
Date: Jul 20, 2007 12:31 PM
Subject: " Working in Faith is Fun "
To: Mayor Rey Nagin <[email address]>, Lee Scott Jr <privacy@wal-
mart.com>
Cc:http://mail.google.com/mail/?
disp=imgs&view=att&th=113e47b965b7b3b6
From: [email address] <[email address]>
Date: Jul 20, 2007 12:26 PM
Subject: " Working in Faith is Fun "
To: "2Barter's Google.Org" <[email address]>
Cc: "{2Barter's Google.Org}" <[email address]>
Friday July 19Th 2007
Thank you
Sincerely:
For CLICKING in
2Barter's Google.Org
"{United States Contractors Offering Service}" <[email address]>,
This Non-profit Is a A Non-profit for the
" PEOPLE "
><> ><> ><>
Enjoyhttp://groups.google.com/groups/search?q=2Barter's+Google.Org&qt_s=Se...
And Join today it's free and fun.
" Working in Faith is Fun "
Thank you
and may GOD Bless you.
As HE has this Non-profit in-which was given to HIM in Faith ><>
Sincerely:
Craig Oral Somerford
Founder of uscos2Barter
Welcome
"2Barter's Google.Org"
United States Contractors Offering Service email***@***.com A
Non-profit for the.
http://www.youtube.com/watch?v=uYtnNk7xCRE
" PEOPLE "
In following my hearts calling it leads me to tell you to say
welcome
I see some-thing that i guess allot of people do not see.
And that is a blessing from the storm.
Let me tell you a little bit about me self if i may.
You see all i have i gave up to GOD to this vary day.
For all i had is now in GOD'S hands i have nothing left but HIM.
No Car , ID , Income , House ,Wife Every-Thing is gone.
Plus i have never been happier living in faith totally.
>as i make my bed in SHEOL thou art with me .
For in Not knowing what i will be doing up until the time i do it
gives GOD all the time HE needs to work through me.
And in doing so giving HIM all the GLORY found in it as well.
The truth found in a Ethereal world we all live in
And my faith in him is growing faster and faster on a daily bases.
For HE is giving me guidance from my prayers through is SON.
To show you ; and the world.
That with out doughy HE is real.
And have that doughty cast into the Ocean for good.
Just like you see that HELL washed away.
Right from the boat you see me on in this site in-which i gave back
to
HIM
HIM who GOD.
Are Father in Heaven who it be thy name.
So to get back to what i mean ; in i see something that i feel allot
of you don't see.
and that being the blessing found in the wood laying all a muck down
south in the Gulf Coast of are Country. For Behold it is overlaid
with
Gold and silver.
Look in the Bible to see some answers to just what can happen when
you
wait on HIM for the answer
A CKICK Away
http://www.biblegateway.com/passage/?search=Habakkuk%202:19,20%20;&ve...
" Behold, it is overlaid with gold and silver,
Yet in it there is no breath at all.
20 " But the LORD is in His holy temple.
Let all the earth keep silence before Him."
What we do is simple we pick up all the little pieces that are laying
every were. And stock pile it for Manufacture.
say at all the Libraries to start. And just a shoe box full.
For then theo's well off or well to do people who wish to give Money
to these Paper-weight-pen-holders.
Ones lets say that are made just for these Donates in the Gluf Coast
and New Orleans area in-which were they were made our collected
at.People then who pay for them with this program could go through
its
fruition creating something of value big time for its monetary Value.
Plus everyone who helped from the people how picked it up to the
driver who drove it plus the plant.
Who made particle board out of it.
And with the scraps left over sent it then to have it then in-cased
in plex-glass and made into that paper weight pen holder thanking the
Donation given from that person who bought it and in faith allow
blessing to come from it when being seen to all who see it on there
desk.
Plus they then can write there vision like i wrote mine.
>From this blessing found in the storm and are Country's biggest
natural disaster.
Thank you GOD for this vision
In " Jesus the Christ "
Name ipray.
Craig Oral Somerford
17 July 2007
Right Mr Google?
THANK YOU
SINCERELY
Googlies new jukebox
" Is lots ans lots of fun " the ABCs?
&
Enjoy http://i56.photobucket.com/albums/g173/Krazjays4209/SHIPPINGGUY.gif
#1
http://www.youtube.com/watch?v=5xfWBM6wS1U
#2
http://www.entheosweb.com/photoshop_templates/architecture.asp
#3
http://my.barackobama.com/page/community/post/craigoralsomerford/CXWz
Thanks again sincerely Senator Barack Obama for your Tag
Reply Reply to author Forward
2Barter's Google.Org
View profile
More options Jul 21, 12:34 am
From: "Craig Oral Somerford" <email***@***.com>
Date: Jul 20, 1:16 pm
Subject: Fwd: Thank you Wal-mart... & From 2Barter's Google.Org
To:"Mr Barack Obama {On YouTube?}" <email***@***.com>,
Thank you
Sincerely
For you Tag
Mr BarackObama
http://my.barackobama.com/page/community/post/craigoralsomerford/CXWz
"{2Barter's Google.Org}" http://my.barackobama.com
From: 2Barter.net <email***@***.com>
Date: Jul 7, 2007 10:58 PM http://www.2Barter.net
Subject: Calling all Contractors
To: "Mr Barack Obama" <email***@***.com>,
From:"{2Barter's Google.Org}" <email***@***.com>
Date: Jul 20, 2007 1:08 PM
Subject: Thank you Wal-mart... & From 2Barter's Google.Org
To:"{Steve Capus}" <email***@***.com>,
Cc:http://www.youtube.com/watch?v=wFGG6AjzZI4
Cc: Lee Scott Jr <email***@***.com>
Bcc: DONALD J. TRUMP
Welcome to Googlies new Jukebox
http://www.youtube.com/watch?v=7reY8OyYmLI
From: Craig oral Somerford <[email address]>
Date: Jul 20, 2007 12:31 PM
Subject: " Working in Faith is Fun "
To: Mayor Rey Nagin <[email address]>, Lee Scott Jr <privacy@wal-
mart.com>
Cc:http://mail.google.com/mail/?
disp=imgs&view=att&th=113e47b965b7b3b6
From: [email address] <[email address]>
Date: Jul 20, 2007 12:26 PM
Subject: " Working in Faith is Fun "
To: "2Barter's Google.Org" <[email address]>
Cc: "{2Barter's Google.Org}" <[email address]>
Friday July 19Th 2007
Thank you
Sincerely:
For CLICKING in
2Barter's Google.Org
"{United States Contractors Offering Service}" <[email address]>,
This Non-profit Is a A Non-profit for the
" PEOPLE "
><> ><> ><>
Enjoyhttp://groups.google.com/groups/search?q=2Barter's+Google.Org&qt_s=Se...
And Join today it's free and fun.
" Working in Faith is Fun "
Thank you
and may GOD Bless you.
As HE has this Non-profit in-which was given to HIM in Faith ><>
Sincerely:
Craig Oral Somerford
Founder of uscos2Barter
Welcome
"2Barter's Google.Org"
United States Contractors Offering Service email***@***.com A
Non-profit for the.
http://www.youtube.com/watch?v=uYtnNk7xCRE
" PEOPLE "
In following my hearts calling it leads me to tell you to say
welcome
I see some-thing that i guess allot of people do not see.
And that is a blessing from the storm.
Let me tell you a little bit about me self if i may.
You see all i have i gave up to GOD to this vary day.
For all i had is now in GOD'S hands i have nothing left but HIM.
No Car , ID , Income , House ,Wife Every-Thing is gone.
Plus i have never been happier living in faith totally.
>as i make my bed in SHEOL thou art with me .
For in Not knowing what i will be doing up until the time i do it
gives GOD all the time HE needs to work through me.
And in doing so giving HIM all the GLORY found in it as well.
The truth found in a Ethereal world we all live in
And my faith in him is growing faster and faster on a daily bases.
For HE is giving me guidance from my prayers through is SON.
To show you ; and the world.
That with out doughy HE is real.
And have that doughty cast into the Ocean for good.
Just like you see that HELL washed away.
Right from the boat you see me on in this site in-which i gave back
to
HIM
HIM who GOD.
Are Father in Heaven who it be thy name.
So to get back to what i mean ; in i see something that i feel allot
of you don't see.
and that being the blessing found in the wood laying all a muck down
south in the Gulf Coast of are Country. For Behold it is overlaid
with
Gold and silver.
Look in the Bible to see some answers to just what can happen when
you
wait on HIM for the answer
A CKICK Away
http://www.biblegateway.com/passage/?search=Habakkuk%202:19,20%20;&ve...
" Behold, it is overlaid with gold and silver,
Yet in it there is no breath at all.
20 " But the LORD is in His holy temple.
Let all the earth keep silence before Him."
What we do is simple we pick up all the little pieces that are laying
every were. And stock pile it for Manufacture.
say at all the Libraries to start. And just a shoe box full.
For then theo's well off or well to do people who wish to give Money
to these Paper-weight-pen-holders.
Ones lets say that are made just for these Donates in the Gluf Coast
and New Orleans area in-which were they were made our collected
at.People then who pay for them with this program could go through
its
fruition creating something of value big time for its monetary Value.
Plus everyone who helped from the people how picked it up to the
driver who drove it plus the plant.
Who made particle board out of it.
And with the scraps left over sent it then to have it then in-cased
in plex-glass and made into that paper weight pen holder thanking the
Donation given from that person who bought it and in faith allow
blessing to come from it when being seen to all who see it on there
desk.
Plus they then can write there vision like i wrote mine.
>From this blessing found in the storm and are Country's biggest
natural disaster.
Thank you GOD for this vision
In " Jesus the Christ "
Name ipray.
Craig Oral Somerford
17 July 2007
Right Mr Google?
THANK YOU
SINCERELY
Googlies new jukebox
" Is lots ans lots of fun " the ABCs?
&
Enjoy http://i56.photobucket.com/albums/g173/Krazjays4209/SHIPPINGGUY.gif
#1
http://www.youtube.com/watch?v=5xfWBM6wS1U
#2
http://www.entheosweb.com/photoshop_templates/architecture.asp
#3
http://my.barackobama.com/page/community/post/craigoralsomerford/CXWz
Thanks again sincerely Senator Barack Obama for your Tag
- 6
- Help needed on the Java policyHi,
Michael Koch said:
> I'm currently working on a proposal for cleaning up the virtual package
> chaos. Please give me some more days for this.
Fair enough, let's consider as a warm up for the discussion that will come
once you'll show your proposal ;-)
Thanks, Eric
--
You don't need to CC me on debian-java, debian-mentors and
pkg-java-maintainers.
Please CC me on other Debian lists.
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 6
- changing Reader midstreami have what seems to be a fairly common problem, but i can't seem to find an
answer... i have a java program which opens a connection to a webpage and
seeks to read the webpage in. if the charset is defined in the header, then
no problem - i simply set up my InputStreamReader using the correct Charset
and away i go. but if the charset is defined in a META tag, then i want to
be able to recognize that.
a good example of why this is important: Yahoo! Japan uses EUC-JP encoding,
and specifies it in the header. Excite Japan uses Shift_JIS encoding, and
specifies it in the META tag.
here's some pseudocode:
URL url = new URL(webpage);
URLConnection conn = url.openConnection();
if (conn.contentType() != null)
charset = getCharset(conn.contentType()); // yay!
else
charset = ISO-8859-1; // default
InputStream = conn.getInputStream();
BufferedReader reader = new BufferedReader(new
InputStreamReader(in,charset));
while (get data from reader) {
if (data is META tag && content-type specifies a new charset) {
reader = new BufferedReader(new InputStreamReader(in,newCharset));
// this is the problem
}
}
this, unfortunately, does not seem to work. is there a better (i.e.,
standard) way to do this?
thanks!
daniel
- 10
- Shootout: the benchmarks game ... continues.On Wed, 30 Apr 2008 08:00:38 -0700 (PDT), Isaac Gouy
<email***@***.com> wrote:
>You've spent 10 days making untrue claims:
No, you are wrong. There is no -Xms when you click on show tab from
the main page. You know that very well. Why waste time on quibbling?
>Why don't you go through all...
Let's continue. The only thing changed is my OS (Vista) and computer
which is now 3 core phenom. Also, instead of > /dev/null on cygwin, I
will use > \Null (since that seems to be 200 times faster on windows).
benchmark: fasta
java version:
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fasta&lang=java&id=2
C++ version
http://shootout.alioth.debian.org/gp4/benchmark.php?test=fasta&lang=gpp&id=4
As a great example of c++ portability, this doesn't even compile with
my version of g++ (mingw), so I will use cygwin to compile. gcc
version 3.4.4 (cygming special)
g++ -pipe -O3 -fomit-frame-pointer -mfpmath=sse -msse2 fasta.cpp -o
fasta.exe
jc -inline+ fasta (jet)
N 250,000 2,500,000 25,000,000
g++ 0.166s 0.954s 8.884s
java 0.297s 1.347s 11.699s (-Xms64m -server)
jet 0.420s 1.701s 14.602s
(note this guy uses -Xbatch flag everywhere. I have to see how that
helps anywhere. It's just slightly slower with -Xbatch flag if
anything).
HotSpot VM is faster than native Jet compiler once again? That's three
in a row. g++ is only slightly faster, not 50 or 100 times as some
think.
- 10
- getting hostname from NT machine via CitrixHi All,
I don't know if any one can help or has any ideas about this.
We are writing a web based application which will run on a Unix box. It will
be accessible only via a login to Citrix from client machines. We have
achieved a transparent login to the application (running in Tomcat) using an
LDAP lookup. What we are stuck on is the following. We would like to be able
to get the hostname of the NT machine which is logging on. Someone has
suggested that we may be able to do this using a signed applet. I have no
experience with Applets at all & wondered if any one knows if this is
achievable or has accomplished anything similar? Any other ideas on how we
might do this?
Many thanks
--
-P
"Programs that are hard to read are hard to modify.
Programs that have duplicated logic are hard to modify.
Programs with complex conditional logic are hard to modify"
( Kent Beck)
- 10
- mailing.database.mysql-internals, mailing.database.mysql, mailing.database.mysql-java, comp.lang.java.programmerif you check the store requirements of column types in mysql,
http://mysql.azc.uam.mx/doc/en/Storage_requirements.html
You will see advertised that, for example, for storing a TINYINT they
use a byte, but when you create a table using the different types of
data:
CREATE TABLE mysql_data_types (
iTINYI TINYINT,
iTINYINTU TINYINT UNSIGNED,
iSMALLI SMALLINT,
iSMALLIU SMALLINT UNSIGNED,
iMEDIUMI MEDIUMINT,
iMEDIUMIU MEDIUMINT UNSIGNED,
iI INT,
iIU INT UNSIGNED,
lBIGINT BIGINT,
lBIGINTU BIGINT UNSIGNED,
fFLOAT FLOAT,
fFLOATX24 FLOAT(24),
fFLOATX25 FLOAT(25),
dDOUBLE DOUBLE,
dDOUBLEP DOUBLE PRECISION,
dREAL REAL,
dDECIMALM1D0 DECIMAL(1,0),
dDECIMALM1D1 DECIMAL(1,1),
dDECIMALM1D2 DECIMAL(1,2),
dNUMERICM1D0 NUMERIC(1,0),
dNUMERICM1D1 NUMERIC(1,1),
dNUMERICM1D2 NUMERIC(1,2),
CHARM16 CHAR(16),
CHARM16B CHAR(16) BINARY,
aVARCHARM255 VARCHAR(255),
aTINYTEXT TINYTEXT,
aTEXT TEXT,
aMEDIUMTEXT MEDIUMTEXT,
aLONGTEXT LONGTEXT,
bVARCHARM255 VARCHAR(255) BINARY,
bTINYBLOB TINYBLOB,
bBLOB BLOB,
bMEDIUMBLOB MEDIUMBLOB,
bLONGBLOB LONGBLOB,
tYEAR YEAR,
tTIME TIME,
tDATE DATE,
tTIMESTAMP TIMESTAMP,
tDATETIME DATETIME);
However when you use JDBC to query the column definitions, see:
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getColumns
with code like:
Cx = DriverManager.getConnection(aJDBCP + aTblDB, aUsr, aPW);
DBMD = Cx.getMetaData();
// __
RSFlds = DBMD.getColumns(aTblDB, null, aTblNm, "%");
// __
while(RSFlds.next()){
++itFldIx;
aFldNm = RSFlds.getString(4);
// __
iFTp = RSFlds.getInt(5); // java.sql.Types
aFTpS = RSFlds.getString(6); // TYPE_NAME
iFSz = RSFlds.getInt(7); // COLUMN_SIZE
iDecDigs = RSFlds.getInt(9);
iFNull = RSFlds.getInt(11);
iOrdPos = RSFlds.getInt(17);
...
}
// __
You will for example see that for a tinyint 4 bytes are being used
and that the column type in string format, does not return the
'unsigned' type specifier. Also, apparenly MySQL uses one byte less
for 'unsigned' variables.
Which is a little fishy to me. Both 'signed' and 'unsigned' variables
should use the same storage they are just interpreted differently,
since just one bit is used for the sign.
MySQL returns the same DATA_TYPE in the form of an java.sql.Types int
and TYPE_NAME as a String for 'signed' and 'unsigned' variables
Trying to use the difference in the COLUMN_SIZE specifier does not
work for example for 'BIGINT' and 'BIGINT UNSIGNED'.
How can you tell from the Data Type Definition/specifiers which
fields are unsigned ones?
There should be a 'descriptive' way right? (Other than going the
monkey way, inserting some data, retrieving it, comparing it and
deleting the test record, with which, well . . ., should be definitely
safe)
Do you know of standard or none standard ways to do that?
- 11
- Servlet as JMS Sender/Receiver ?
Can a Servlet act as both a JMS Message Sender and Receiver?
Clients who call on this servlet would be BLOCKING for a response.
The servlet itself upon receival of client request sends the message to
the request MQ queue. This message will be picked up by a standalone
app(JMS client), after processing would write to the response queue.
Meanwhile the servlet would be polling onto the response JMS queue with
receive(timeOutPeriod) with the appropriate msg-selector.
Is there any other approach to avoid the blocking receive. I have read
that server side polling would use lot of sys resources and block the
threads. What other feasible approach is possible?
Having an asynch imple. is a NO in this case because clients cannot
write messages to the Queue.
The appln is hosted on WebSphere5 ND.
Any feedback would be very helpful. Thanks.
- Guru.
- 12
- Add ActionListener to an Action
Okay so Action is fine for centralising event handling for multiple controls
of the same function. But I want to add a plain ActionListener for this
event. Seems reasonable. If I was just using ActionListeners I would add
as many as I like to a component. And they'd all be notified, but if I use
Action then I need to add the ActionListener to the Action, I can't.
Do I really need to get my subclassed AbstractAction to manage
ActionListeners and propagate the ActionEvent by calling
super.actionPerformed ?
Is there a better way? Other than abusing PropertyChangeListener ?
--
Mike W
- 12
- Get the real type of columns from MS Access databases(OLEObject, text, memo, numeric)Hello,
I made one application that opens MS Access databases.And I have one
problem.How can I find the real data type of columns(text, memo,
OLEObject, numeric) like it is into Access.I tried with
resultSetMetaData.getColumnType(columnIndex) but I receive
java.sql.Types.I have two columns that contains OLEObjects(images).But
I receive two different types for columns : VARCHAR once, and for
second column SMALLINT.I only want to see the types like in
Access(OLEObjects, Text, Numeric, Memo...).Thanks in advance!
Best regards,
Calin Pop
- 15
- Maven / Torque Generator ClasspathHello,
I try to make an XML dump of a oracle database schema with the Torque
Generator jakarta api.
But, I cannot find how use Torque Generator without Maven and I connot find
how to put the "classes12.jar" oracle JDBC Driver in the Maven classpath.
So, I get the following exception :
C:\JavaLib\jakarta\torque-gen\torque-gen-3.1.1\projectTest>maven
torque:datadump
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.1
build:start:
torque:init:
torque:datadump:
[torque-data-dump] Using classpath
[torque-data-dump] Generating to file
C:\JavaLib\jakarta\torque-gen\torque-gen-3.1.1\projectTest\target\report.bug.datadump.generation
[torque-data-dump] Torque - TorqueDataDump starting
[torque-data-dump] Your DB settings are:
[torque-data-dump] driver: oracle.jdbc.driver.OracleDriver
[torque-data-dump] URL: jdbc:oracle:thin:@192.168.0.101:1521:ORCL
[torque-data-dump] user: BUG
cannot load driver:
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1075)
at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1036)
at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:925)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at
org.apache.torque.task.TorqueDataDumpTask.initControlContext(TorqueDataDumpTask.java:197)
at
org.apache.velocity.texen.ant.TexenTask.execute(TexenTask.java:480)
at org.apache.tools.ant.Task.perform(Task.java:341)
at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
BUILD SUCCESSFUL
Total time: 6 seconds
Finished at: Mon Nov 22 12:20:01 CET 2004
Could someone help ?
Thank you.
|
| Author |
Message |
R

|
Posted: 2006-4-18 16:26:00 |
Top |
java-programmer, DAO - best practices
Hi All,
I know this is a little bit OT
Suppose I have 2 tables customers and products, customer can buy many
products, product can be bought by many customers - typical n:m
relationship so 3rd table is a must: i.e. purchases
So I need 3 DAO: ProductDAO, CustomerDAO and PurchaseDAO.
How do you deal with i.e. reports - table joins, left joins or
statistics (group by, max, min etc)?
do you create DAOs for that? (especially table joins - probably not)
raports and statistics from i.e. 7 tables can be only read-only, so
insert, update, delete methods
are inadequate.
thanks in advance for shedding some light on this
best regards
R
|
| |
|
| |
 |
PremKumar

|
Posted: 2006-4-18 17:18:00 |
Top |
java-programmer >> DAO - best practices
Hi,
Yep, 3 tables needed; for customer details, product details and
purchase details.
No need for U to have 3 DAO's
In one DAO you can get all the detials U need like;
pick list for products
pick list for customers
for repo's etc.,
Cheers
|
| |
|
| |
 |
richardsosborn@gmail.com

|
Posted: 2006-4-27 21:40:00 |
Top |
java-programmer >> DAO - best practices
you need to change your thinking. DAO is an intersection between DB
and the java code you're writing. you should think if it as the person
coming into it after you for the first time will see it.
your method names, as the last poster said, should start to crossover
from describing the business action performs, to which database
interaction needs to take place. ("pickProductList()" as opposed to
"pickListFromProductItemsTable()") this is the point of DAO.
if you want another layer of abstraction, i've seen projects which
start to describe which queries or database actions will be performed
(IE "callPickListForProductItems()"). and even then contain these in a
specialized class for each database vendor, in case your application
would re-platform.
but the pattern serves you, not the other way around. be aware of the
future and utilize as much or as little as you think you will need.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- how to pass this before supertype constructor has been calledPaul J. Lucas wrote:
> No I don't. I can do what I want in C++ just fine. As long as
> I don't try to access anything *through* "this" I'm fine. It'd
> perfectly safe. It's 100% portable. It just works.
Paul, there's really no answer then, other than "go use C++ and do it".
You can't do what you're asking in Java. Your winning an argument isn't
going to change your compiler and magically let you do it. You will
simply need to allow the initialization to be completed from within the
derived class's constructor, because you can't just reference this when
defining the parameters to the superclass constructor.
Maybe you think that you should be able to do so, and of course it would
be possible to define a language similar to Java in which you could, but
when you're working in Java, you can't.
--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
- 2
- Per-Session Cookies and Java ProgramsHello. I'm currently writing a java program that connects to a website
and reads information from it. Eventually it will return a URL for the
user to go to. The only problem is there are a lot of "per-session"
temporary cookies involved. I haven't found a way to go from the java
program's URL to the URL in IE because of all of the per-session
cookies involved. Does anyone have any idea how I can save the
per-session cookies from java into IE or a way around this? My last
hope is just opening the webpage in the java gui.
- 3
- /~/~/~/~/~/Earn $10,000 A Month From Your Bedroom/~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/
~/~/~//~/~/~/~/~//~/~/
Earn $10,000 A Month From Your Bedroom!
Wish You Could Find Just One REAL LEGITIMATE WAY To Make REAL MONEY
Right From
Your Bedroom - Starting Today? Well... Listen Up -- In The Next 4
minutes
I'll show you how!
For More Details Check the Links Below:
http://solutionformakingmoneyonline.blogspot.com/
http://accessmoneyonline.blogspot.com/
/~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/
~/~/~//~/~/~/~/~//~/~/
- 4
- Huge titted pornstar Danielle Derek teaches a teen how to fuck Just few link on some movies...
All just for you...
Download
>>>>> http://download-video.12w.net
>>>>> http://world-sex.urllogs.com
>>>>> http://video-sex.12w.net
CLICK FREE DOWNLOAD VIDEO PORN...
L
I
C
K
T
O
W
A
T
C
H
V
I
D
E
O
P
O
R
N
D
O
W
N
L
O
A
D
F
R
E
E
.
.
.
W
E
L
C
O
M
T
O
M
O
V
I
E
S
P
O
R
N
D
O
W
N
L
O
A
D
.
.
.
- 5
- Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com )Max 90 Sneakers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 91, Supplier ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 95, Shoes Supplier ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 97, Trainers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2003, Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 2004, Shoes Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max,2005, Shop ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2006, Shoes Shop ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 360, Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, Ltd Shoes Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, Men's, Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 2, Women's Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 3, Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 4, Shoes Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn ,6, Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox NZ Shoes Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox OZ Sale ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 2 Shoes Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 3 Distributor ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Bmw Shoes Distributor ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Elite Shoes Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Monster Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox R4 Running Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox R5 Mens Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Ride Womens Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Rival Shoes Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Energia Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox LV Sneaker ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Turbo Suppliers ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Dendara Trainer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 1, Seller ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 2, Shoes Seller ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 3, Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 4, Shoes Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 5, Chaussure Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 6, Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 7, Shoes Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 8, Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 9 ,Shoes Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 10, Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Jordan, 11 Shoes Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 12 Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 13 Shoes Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 14 Shoes Sell ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 16 Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 17 Shoes Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 18 Offer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 19 Shoes Offer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 20 Manufacture ( paypal accept ) ( www.sneaker-fan.com
)
Max 90 Sneakers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 91, Supplier ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 95, Shoes Supplier ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 97, Trainers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2003, Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 2004, Shoes Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max,2005, Shop ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2006, Shoes Shop ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 360, Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, Ltd Shoes Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, Men's, Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 2, Women's Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 3, Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 4, Shoes Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn ,6, Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox NZ Shoes Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox OZ Sale ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 2 Shoes Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 3 Distributor ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Bmw Shoes Distributor ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Elite Shoes Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Monster Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox R4 Running Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox R5 Mens Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Ride Womens Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Rival Shoes Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Energia Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox LV Sneaker ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Turbo Suppliers ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Dendara Trainer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 1, Seller ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 2, Shoes Seller ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 3, Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 4, Shoes Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 5, Chaussure Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 6, Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 7, Shoes Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 8, Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 9 ,Shoes Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 10, Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Jordan, 11 Shoes Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 12 Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 13 Shoes Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 14 Shoes Sell ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 16 Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 17 Shoes Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 18 Offer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 19 Shoes Offer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 20 Manufacture ( paypal accept ) ( www.sneaker-fan.com
)
Max 90 Sneakers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 91, Supplier ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 95, Shoes Supplier ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 97, Trainers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2003, Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 2004, Shoes Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max,2005, Shop ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2006, Shoes Shop ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 360, Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, Ltd Shoes Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, Men's, Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 2, Women's Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 3, Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 4, Shoes Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn ,6, Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox NZ Shoes Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox OZ Sale ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 2 Shoes Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 3 Distributor ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Bmw Shoes Distributor ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Elite Shoes Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Monster Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox R4 Running Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox R5 Mens Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Ride Womens Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Rival Shoes Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Energia Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox LV Sneaker ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Turbo Suppliers ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Dendara Trainer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 1, Seller ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 2, Shoes Seller ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 3, Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 4, Shoes Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 5, Chaussure Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 6, Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 7, Shoes Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 8, Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 9 ,Shoes Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 10, Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Jordan, 11 Shoes Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 12 Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 13 Shoes Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 14 Shoes Sell ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 16 Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 17 Shoes Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 18 Offer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 19 Shoes Offer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 20 Manufacture ( paypal accept ) ( www.sneaker-fan.com
)
Max 90 Sneakers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 91, Supplier ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 95, Shoes Supplier ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 97, Trainers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2003, Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 2004, Shoes Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max,2005, Shop ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2006, Shoes Shop ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 360, Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, Ltd Shoes Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, Men's, Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 2, Women's Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 3, Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 4, Shoes Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn ,6, Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox NZ Shoes Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox OZ Sale ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 2 Shoes Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 3 Distributor ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Bmw Shoes Distributor ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Elite Shoes Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Monster Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox R4 Running Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox R5 Mens Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Ride Womens Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Rival Shoes Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Energia Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox LV Sneaker ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Turbo Suppliers ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Dendara Trainer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 1, Seller ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 2, Shoes Seller ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 3, Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 4, Shoes Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 5, Chaussure Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 6, Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 7, Shoes Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 8, Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 9 ,Shoes Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 10, Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Jordan, 11 Shoes Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 12 Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 13 Shoes Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 14 Shoes Sell ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 16 Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 17 Shoes Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 18 Offer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 19 Shoes Offer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 20 Manufacture ( paypal accept ) ( www.sneaker-fan.com
)
Max 90 Sneakers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 91, Supplier ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 95, Shoes Supplier ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 97, Trainers ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2003, Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 2004, Shoes Wholesale ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max,2005, Shop ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Max, 2006, Shoes Shop ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, 360, Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max, Ltd Shoes Catalogs ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, Men's, Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 2, Women's Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 3, Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn, 4, Shoes Customize ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Max Tn ,6, Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox NZ Shoes Supply ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox OZ Sale ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 2 Shoes Store ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox TL 3 Distributor ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Bmw Shoes Distributor ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Elite Shoes Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Monster Manufacturer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox R4 Running Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox R5 Mens Shoes ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Ride Womens Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Rival Shoes Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Energia Wholesaler ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox LV Sneaker ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Turbo Suppliers ( paypal accept ) ( www.sneaker-fan.com )
Nike Shox Classic Shoes Suppliers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Shox Dendara Trainer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 1, Seller ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 2, Shoes Seller ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 3, Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 4, Shoes Collection ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 5, Chaussure Shoes ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 6, Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 7, Shoes Catalog ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 8, Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 9 ,Shoes Customized ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 10, Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Jordan, 11 Shoes Wholesalers ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 12 Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 13 Shoes Factory ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 14 Shoes Sell ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 16 Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 17 Shoes Exporter ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 18 Offer ( paypal accept ) ( www.sneaker-fan.com )
Nike Air Jordan, 19 Shoes Offer ( paypal accept ) ( www.sneaker-fan.com
)
Nike Air Jordan, 20 Manufacture ( paypal accept ) ( www.sneaker-fan.com
)
- 6
- JDBC and threadsHi,
I have a question on threads, probably very basic but I'm having a
hard time figuring it out. I've created a little test app for
experimentation on this subject.
The app shows a JTable that is filled with data from a database. The
user can change the data in the JTable wherupon the JTable passes this
data to the database. Now this part I would like to do in a different
thread, so that the UI is not slowed when communication with the
database is taking place. To do this I've created a class has a
private class that extends Thread. The run() method of this class is
then supposed to do the JDBC stuff like creating a statement and
executing the update.
However, here I have a problem. The run() method cannot throw an
SQLException. I would like the exception to be thrown rather than
caught in the run() method, so that I can deal with the exception in
my main thread and have the UI respond accordingly (meaning: do not
update the tableModel with the newly entered value).
Does anyone have any suggestions for me how I could implement this in
a different fashion? The aim is to get the JDBC stuff to run in a
different thread than the UI does.
Thanks very much, Jonck
- 7
- Pls Help!!!Hi All,
I want to write conditional regular expression in Java/J2EE.
Any sample example will be preferrable. In Dot Net , conditional regex
are working properly but i want to do it in java/J2EE.
Like i have following regex in dot net which i want to write in java/
J2EE. :-
(([<]title).*(\bcontract(s)?\b|\border(s)?\b|\bsign(s|ed)?\b|
\bw[io]n(s)?\b).*(title[>]))(?=(?>(.|\n)*?([<]body).{1,1000}?(\b(re)?
new\b|\bpen(s)?\b).{1,100}?(\bdeal(s)?\b)))
Any help will be truely appriciated.
Thanks in advance.
- 8
- generate private key from a exist fileHi
i want to generate a private key from a exist file. i tried this but it
dosen't works!
---------Code--------------
FileInputStream keyfis = new FileInputStream("keyCarlaSchaffner.pem");
//"keyCarlaSchaffner.der"
byte[] encKey = new byte[keyfis.available()];
keyfis.read(encKey);
keyfis.close();
X509EncodedKeySpec privKeySpec = new X509EncodedKeySpec(encKey);
KeyFactory kf = KeyFactory.getInstance("RSA");
PrivateKey pk = kf.generatePrivate(privKeySpec);
---------Code end ----------
i have the private key file in pem and der encoded version, but both didn't
work.
PEM :
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,F836EA29BA0C7925
....
...
...
-----END RSA PRIVATE KEY-----
DER: no readable
the exception is:
--------------------------------
java.security.spec.InvalidKeySpecException: Key spec not RSA.
at
com.sun.net.ssl.internal.ssl.JSA_RSAKeyFactory.getPrivateKeyData(DashoA6275)
at
com.sun.net.ssl.internal.ssl.JS_KeyFactory.engineGeneratePrivate(DashoA6275)
at java.security.KeyFactory.generatePrivate(KeyFactory.java:237)
--------------------------------
has anyone a idea?
thanks carla
- 9
- jar helphi
i have been trying to make a jar file for the following files
hello.java
hello.class
with the following command
jar cf hello.jar hello.*
it is created and with
jar tf hello.jar
i am able to see the list of files which is in this case
META-INF/
META-INF/MANIFEST.MF
hello.class
hello.java
but it doesn't run with
java -jar hello.jar
following error appears
Failed to load Main-Class manifest attribute from
hello.jar
i tried to fix it with
jar cfm hello.jar mymainclass hello.*(after creating mymainclass with the
entry Main-Class: path.hello)
to no avail!
and another thing is although the dir META-INF is shown as above it is not
created in the folder..where is it created??
help please
Greetingz
Sunil
- 10
- Irony (not that you'll see this subject anyways)On Aug 4, 11:09 am, Joshua Cranmer <email***@***.com> wrote:
> In terms of off-topic-ness, the first posts started delving into
> implementing operator overloading, which then started into a discussion
> over exponentiation operators -- both of which are mildly on-topic. Then
> came a response by Twisted saying that COBOL was responsible for a lot of
> Y2K bugs.
Which was a perfectly "on-topic" reply to the previous post. It's
called topic drift. Get used to it.
[snip remainder]
Stop blaming me. It is never correct to blame me; leave me in peace.
- 11
- Major enhancements to Swing Drag and Drop in MustangHi Everyone,
If you happen to be interested, I've just published a blog introducing
the major enhancements made to Swing Drag and Drop for Mustang. You can
find it here:
http://weblogs.java.net/blog/shan_man/archive/2006/01/first_class_dra.html
I hope you have a chance to try out one of the recent builds. And of
course, feel free to post any questions or comments at the blog.
Thank you, and all the best!
Shannon
- 12
- Final field & custom serialized formatI have a class which has a single field:
private final File nameFile;
When serializing it, I want to save it as a String, rather than a File.
This will allow me to better check for platform incompatibilities during
deserialization.
I can serialize it like so:
private transient final File nameFile;
private void writeObject(ObjectOutputStream out) throws IOException
{
out.defaultWriteObject();
out.writeObject(nameFile.getPath());
}
A straightforward approach to deserialization won't work, however, for
the obvious reason that I won't be able to set nameFile to the File I
construct from my deserialized String.
I can't be the first person to run into this. What have others done in
this situation?
Thanks!
--
========================================================================
Ian Pilcher email***@***.com
========================================================================
- 13
- Which Compiler?Hi. Is there another good free compiler (besides the JDK) that is
recommended? I would like to hear from those who have used it if there
is. Thanks, Steve
- 14
- NetBeans to abandon Java ? It makes you wonder...Today I was directed to a satisfaction survey on the NetBeans website
after starting NetBeans 6. I expresses my disdain about the product,
said that the current setup does not allow me to get my work down (I'm
still using NB 5.5.1 for my Java development) but that I have to admit
that the whole documentation as well as the overall speed is satisfying.
Then I got curious to the end results of the survey, couldn't find any,
but I did stumble upon this page with lots of success stories about
excited developers who've (re)discovered NetBeans:
http://www.netbeans.org/servlets/NewsItemView?newsItemID=1179.
After reading that whole page I was basically left with one simple
question: "And what about Java?".
I quote from the page: "Developers continue to rave about NetBeans 6.0
IDE features--its support for Ruby and C++, the debugger, the easy
installation process and more.". There isn't much changed with regards
to the installation, NB5.5.1 also has a good debugger and then what ?
Reading on there are a few success stories. Funny though how those
reflect on the IDE as a whole, RoR or C++. Reading on again we see 4
more stories: "Amazing RoR support", "Cleaner, slimmer, more focused IDE
than Eclipse" and finally "A lot of features".
Cool. SO like, why am I wondering why I don't read so many success
stories which are fully related to Java ?
Heck, here I am utilizing NB6 as we speak to debug a PHP powered
website, and its doing a pretty good job as well, apart from the
sometimes very annoying delays its causing me. But thats a minor issue,
and only happening very sporadically.
Still... Is NetBeans shifting their focus ? I have to wonder. It would
explain something about my horror experiences where (IMO) important Java
related features like autocomment (javadoc administration) and pattern
support (javabean administration) were removed. While I don't consider
NB6 to be a decent Java editor I have to admit its doing well on PHP.
Errr... I think I'll stop here :P
With kind regards,
Peter
- 15
- java code compressioni'm writing an applet which is growing a little out of control, and i'm
trying to cut down on the size of the final applet without reducing
functionality. is there a way to strip all excess symbols out of the applet
at compile time, or munge the internal names so that they're shorter?
coming from a C++ background, i have all of these nice, long explanatory
names for my constants - which end up taking an absurd amount of space.
any help would be appreciated!
daniel
|
|
|