| how to pass this before supertype constructor has been called |
|
 |
Index ‹ java-programmer
|
- Previous
- 1
- 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.
- 2
- 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
)
- 2
- /~/~/~/~/~/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/
/~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/~/~/~//~/~/
~/~/~//~/~/~/~/~//~/~/
- 3
- 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
- 5
- 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.
- 6
- 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.
- 6
- 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
- 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
- 6
- DAO - best practicesHi 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
- 12
- 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)
- 12
- 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
- 13
- 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
- 13
- 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.
- 13
- 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
- 13
- 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
========================================================================
|
| Author |
Message |
Chris Smith

|
Posted: 2003-12-4 0:56:00 |
Top |
java-programmer, how to pass this before supertype constructor has been called
Paul 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
|
| |
|
| |
 |
Chris Smith

|
Posted: 2003-12-4 0:56:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Paul 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
|
| |
|
| |
 |
Dale King

|
Posted: 2003-12-4 1:48:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
"Paul J. Lucas" <email***@***.com> wrote in message
news:8pozb.32101$F%email***@***.com...
On a side note, completely by coicidence, I downloaded txt2pdbdoc only to
discover that it was written by a certain Paul J. Lucas. I may convert it to
Java for my needs.
> Dale King <email***@***.com> wrote:
>
> > And no the this reference is not known until the constructor is called.
>
> Of course it is. It has to be. The constructor has nothing to
> do with it. For a class with neither base nor derived classes,
> the steps are:
>
> 1. Programmer calls "new SomeObject()"
> 2. JVM allocates memory from the heap for sizeof( SomeObject ).
> 3. Calls SomeObject() constructor with "this" set to point to
> memory allocated in step 2.
> 4. Programmer does stuff inside constructor code like
> initialize member variables.
And that is making some assumptions about how a VM works that may not
guaranteed by the spec.
> The only thing that is different if SomeObject has a base class,
> is that it is up to the *programmer* in step 4 to call super().
> The address of "this" MUST STILL BE KNOWN.
But is in an unknown state and is unsafe to use.
> > You have a chicken and the egg paradox
>
> 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.
And the fact that C++ lets you access the pointer before it is initialized
does not mean the paradox doesn't exist. On the flip side C++ doesn't let
you access member functions polymorphically from a constructor. In this
regard C++ is safer than Java. Unfortunately that makes it much less
convenient.
> > and you think Java should let you get away with referencing an
unconstructed
> > object as a way to solve the paradox. You are wrong. Java should not let
you
> > do that.
>
> It's not a paradox. Sorry you just can't see that.
Yes it is. Sorry you just can't see that. Once again remove the whole
subclass thing and just look at it as two classes that want to have final
instance references to each other. I'll make them final to remove the
possibility of subclassing:
final class A
{
final B b;
public A( B b )
{
this.b = b;
}
}
final class B
{
final A a;
public B( A a )
{
this.a = a;
}
}
That is a chicken and egg paradox. There is absolutely no way that you can
create instances of these two classes so that they refer to each other. You
can create instances of these classes, but not so that they reference each
other.
You feel that you should be able to get around this paradox by subclassing
one of them, but that still does not eliminate the fact that the paradox
exists. C++ gives you a way out of the paradox, but the paradox still
exists.
I agree with Chris, that you can argue whether you should be allowed to get
the this pointer before the instance is initialized until you are blue in
the face, it doesn't change reality. The only reason you want it is because
you have created a paradoxical design. The solution is to fix your design so
that it is not dependent on the language allowing you to do things that are
inherently unsafe.
|
| |
|
| |
 |
John C. Bollinger

|
Posted: 2003-12-4 22:38:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Paul J. Lucas wrote:
> Dale King <email***@***.com> wrote:
>
>
>>What happens when the constructor actually does run and it throws an
>>exception?
>
>
> Nothing at all.
Presumably this is either a hope, a specification, or an assumption. It
is not, however, the actual result.
>>You could then have a reference to not only an uninitialized instance but one
>>whose constructor failed and whose memory has actually been freed and is no
>>longer even allocated!
>
>
> But the base class holding that reference doesn't exist either
> since they're the same exact object. A derived instance has a
> base instance inside it. Both their "this" pointers point to
> the exact same memory location. If the derived object has been
> freed, then (obviously) the base object (inside it) has also.
Java does not have pointers. It has references, which serve many of the
same roles, but no pointers. The difference is not academic, and may be
part of what is causing you such apparent frustration. For example,
there is no inherent logical inconsistency with any particular pointer
referring any particular place in memory, but there _is_ a logical
inconsistency with a reference whose referrent does not exist or has not
yet been fully constructed.
You are also missing Dale's point. He is describing a situation where
(a C++ implementation of) your design could potentially produce, hold,
and use rogue pointers. That would be a serious concern for program
stability and perhaps even system security. Perhaps it would never
happen in your particular app -- I don't know, as you have only provided
a schematic description. But even if not, who's to say that some future
modification by a developer not as familiar with your app's innards
(which could even be yourself, two years hence) would not introduce such
a problem?
The situation with Java is a bit different, I think. After analyzing my
example of the problem (one branch to your left in this thread) and
thinking about how the JVM works, my conclusion is that the worst that
can happen on the Java side is that you end up with a reference to an
object whose initialization was aborted midway. This is not equivalent
to a rogue pointer, because the object does exist, and will continue to
exist at least until it becomes unreachable from any running thread.
Its state may not be consistent, however, and use of the thing will not
be likely to reliably produce the expected results.
>>Once again you have a logical paradox that is a problem in your design.
>
>
> Once again you don't see that there's no paradox.
Whether or not it is a paradox, it _is_ a problem in your design, both
in Java and in C++. In the latter language the program evidently works,
but that does not validate the design quality. It is inherently unsafe
to pass around pointers / references to partially constructed objects,
and Java intentionally makes it difficult (albeit not impossible) to do so.
In your case, you have two classes of objects so tightly coupled
together that instances must come in pairs with each member of the pair
holding a final reference to the other. Good OOD principles call for
these things to be either combined into one or decoupled from each other.
One way of decoupling the objects would be to factor the links out into
a seperate object -- some kind of container that holds final references
to both of the others. Some of the code would need to go along to the
container too. Another, simpler way would be to do exactly as Dale
suggested, and assign one of the references after construction instead
of during. That doesn't achieve the same level of decoupling, but it's
better than what you have now. There are probably other, more
appropriate approaches as well, but they would depend on the nature and
roles of the classes involved.
John Bollinger
email***@***.com
|
| |
|
| |
 |
Paul J. Lucas

|
Posted: 2003-12-5 1:21:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
John C. Bollinger <email***@***.com> wrote:
> Java does not have pointers. It has references, which serve many of the
> same roles, but no pointers.
*eyeroll* On the machine-code level, which even Java must
ultimaty run at, there are no references, only pointers. A
reference is implemented as a pointer. How is it that you can
get a "Null reference exception" then? It's really a null
pointer just like in C++ or C, just with linguitsic sugar
wrapped around it.
> For example, there is no inherent logical inconsistency with any particular
> pointer referring any particular place in memory, but there _is_ a logical
> inconsistency with a reference whose referrent does not exist or has not yet
> been fully constructed.
And, even if I grant you the above, for the case at hand, it's
irrelevant, since (for something like the 6th time now): I'm not
*using* the reference. I'm just storing it.
> You are also missing Dale's point. He is describing a situation where
> (a C++ implementation of) your design could potentially produce, hold,
> and use rogue pointers.
It can't use them unless I (the application programmer) access
something through "this". As long as "this" is used only as a
rvalue, everything is fine.
> That would be a serious concern for program stability and perhaps even system
> security.
Hogwash. Instability comes from inconsistent results based on
unspecified behavior. There is no such thing (at least in C++)
about using "this" *at* *any* *time* as an rvalue.
> Perhaps it would never happen in your particular app -- I don't know, as you
> have only provided a schematic description.
If I say (for the 7th time now) that I only store a copy of
"this", then that's all the information that's needed.
> But even if not, who's to say that some future modification by a developer
> not as familiar with your app's innards (which could even be yourself, two
> years hence) would not introduce such a problem?
I don't care about that.
> After analyzing my example of the problem (one branch to your left in this
> thread) and thinking about how the JVM works, my conclusion is that the worst
> that can happen on the Java side is that you end up with a reference to an
> object whose initialization was aborted midway.
That's nice, but, again, irrelevant because "this" was never
going to be used during a successful construction and obviously
not during an unsuccessful one.
> Its state may not be consistent, however, and use of the thing will not
> be likely to reliably produce the expected results.
There you go again: THERE IS NO "use of the thing." IT'S NOT
USED IN THE CONSTRUCTOR, DAMMIT! Why is that so freaking hard
for you to understand?
> Whether or not it is a paradox, it _is_ a problem in your design, both
> in Java and in C++.
No it isn't. It's perfectly legal and stable in C++.
> It is inherently unsafe to pass around pointers / references to partially
> constructed objects, and Java intentionally makes it difficult (albeit not
> impossible) to do so.
And I, as a professional (and damned good) programmer know when
I can safely use them. I don't need Gosling to protect me from
myself.
- Paul
|
| |
|
| |
 |
Paul J. Lucas

|
Posted: 2003-12-5 1:23:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Chris Smith <email***@***.com> wrote:
> Paul, there's really no answer then, other than "go use C++ and do it".
I already did: I'm now in the process or porting a perfectly
working C++ application to Java.
> You can't do what you're asking in Java.
That's all you needed to say. Had you said it, this thread
would have ended days ago.
- Paul
|
| |
|
| |
 |
Paul J. Lucas

|
Posted: 2003-12-5 1:26:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Dale King <email***@***.com> wrote:
> "Paul J. Lucas" <email***@***.com> wrote in message
> news:8pozb.32101$F%email***@***.com...
>
> On a side note, completely by coicidence, I downloaded txt2pdbdoc only to
> discover that it was written by a certain Paul J. Lucas.
Yes, I've been around.
> I may convert it to Java for my needs.
1. I'm about to release a minor update/bug-fix (1.4.4).
2. I don't see the point in converting it to Java, but it's
your time to waste, so knock yourself out.
3. Remember to adhere to the GPL.
- Paul
|
| |
|
| |
 |
John C. Bollinger

|
Posted: 2003-12-5 4:43:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Paul J. Lucas wrote:
> Chris Smith <email***@***.com> wrote:
[...]
>>You can't do what you're asking in Java.
>
>
> That's all you needed to say. Had you said it, this thread
> would have ended days ago.
Huh? I said that in my very first response in this thread, and
reiterated it later. I also gave you a workaround (ugly though it be).
Or do you mean it had to be _Chris_ who said you couldn't do what you
wanted? :^)
John Bollinger
email***@***.com
|
| |
|
| |
 |
John C. Bollinger

|
Posted: 2003-12-5 5:59:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
Paul J. Lucas wrote:
> John C. Bollinger <email***@***.com> wrote:
>
>
>>Java does not have pointers. It has references, which serve many of the
>>same roles, but no pointers.
>
>
> *eyeroll* On the machine-code level, which even Java must
> ultimaty run at, there are no references, only pointers. A
> reference is implemented as a pointer. How is it that you can
> get a "Null reference exception" then? It's really a null
> pointer just like in C++ or C, just with linguitsic sugar
> wrapped around it.
If you want machine code then write in machine code. If you don't like
the semantics of Java then don't write in Java. When you do write in
Java, you don't have pointers at your disposal, regardless of how
references are implemented in the JVM. You don't have them in Fortran
77, either, even though there are surely memory addresses being passed
around and used in the compiled machine code. The Java Language and VM
specs do not specify many particulars of the implementation of
references, and it is not safe to assume that on any particular VM they
are simply lightly-wrapped pointers. It is certainly not safe to assume
that on every VM they are implemented as lightly-wrapped pointers.
>>For example, there is no inherent logical inconsistency with any particular
>>pointer referring any particular place in memory, but there _is_ a logical
>>inconsistency with a reference whose referrent does not exist or has not yet
>>been fully constructed.
>
>
> And, even if I grant you the above, for the case at hand, it's
> irrelevant, since (for something like the 6th time now): I'm not
> *using* the reference. I'm just storing it.
Presumably you are storing it because you intend to use it later. Part
of Dale's argument was that if you store it before its referrent has
been fully constructed then it is very difficult to be certain in
general that when you do go back to use it -- whether in the
construction process or after -- the referrent will be in a valid state.
Furthermore, whether or not you use it in the constructor today, the
constructor could be modified to use it tomorrow, which needn't involve
recompilation of the derived classes.
>>But even if not, who's to say that some future modification by a developer
>>not as familiar with your app's innards (which could even be yourself, two
>>years hence) would not introduce such a problem?
>
>
> I don't care about that.
I beg your pardon. What little of the architecture you showed seemed
complex enough already to rule out the app being a one-off throwaway.
[...]
>>It is inherently unsafe to pass around pointers / references to partially
>>constructed objects, and Java intentionally makes it difficult (albeit not
>>impossible) to do so.
>
>
> And I, as a professional (and damned good) programmer know when
> I can safely use them. I don't need Gosling to protect me from
> myself.
I hear that Microsoft has a whole stable full of damned good
professional programmers, who have devoted thousands of man-years to a
product lineup that still manages to spring several newly discovered
bugs every week. This is not intended to slight those programmers (or
you); I am confident that the vast majority really are very good. And
even the best of them still make mistakes from time to time.
Whether you program in C++, Java, or some other language, it pays to
avoid not only recognized problems and failure scenarios, but also
potential problems and dangerous practices. The latter turn into many
of tomorrow's bugs -- and into many of today's when a very good
professional programmer makes a mistake.
John Bollinger
email***@***.com
|
| |
|
| |
 |
Dale King

|
Posted: 2003-12-6 5:23:00 |
Top |
java-programmer >> how to pass this before supertype constructor has been called
"Paul J. Lucas" <email***@***.com> wrote in message
news:j2Kzb.65547$email***@***.com...
> John C. Bollinger <email***@***.com> wrote:
>
> > Java does not have pointers. It has references, which serve many of the
> > same roles, but no pointers.
>
> *eyeroll* On the machine-code level, which even Java must
> ultimaty run at, there are no references, only pointers. A
> reference is implemented as a pointer. How is it that you can
> get a "Null reference exception" then? It's really a null
> pointer just like in C++ or C, just with linguitsic sugar
> wrapped around it.
>
> > For example, there is no inherent logical inconsistency with any
particular
> > pointer referring any particular place in memory, but there _is_ a
logical
> > inconsistency with a reference whose referrent does not exist or has not
yet
> > been fully constructed.
>
> And, even if I grant you the above, for the case at hand, it's
> irrelevant, since (for something like the 6th time now): I'm not
> *using* the reference. I'm just storing it.
>
> > You are also missing Dale's point. He is describing a situation where
> > (a C++ implementation of) your design could potentially produce, hold,
> > and use rogue pointers.
>
> It can't use them unless I (the application programmer) access
> something through "this". As long as "this" is used only as a
> rvalue, everything is fine.
>
> > That would be a serious concern for program stability and perhaps even
system
> > security.
>
> Hogwash. Instability comes from inconsistent results based on
> unspecified behavior. There is no such thing (at least in C++)
> about using "this" *at* *any* *time* as an rvalue.
>
> > Perhaps it would never happen in your particular app -- I don't know, as
you
> > have only provided a schematic description.
>
> If I say (for the 7th time now) that I only store a copy of
> "this", then that's all the information that's needed.
>
> > But even if not, who's to say that some future modification by a
developer
> > not as familiar with your app's innards (which could even be yourself,
two
> > years hence) would not introduce such a problem?
>
> I don't care about that.
>
> > After analyzing my example of the problem (one branch to your left in
this
> > thread) and thinking about how the JVM works, my conclusion is that the
worst
> > that can happen on the Java side is that you end up with a reference to
an
> > object whose initialization was aborted midway.
>
> That's nice, but, again, irrelevant because "this" was never
> going to be used during a successful construction and obviously
> not during an unsuccessful one.
>
> > Its state may not be consistent, however, and use of the thing will not
> > be likely to reliably produce the expected results.
>
> There you go again: THERE IS NO "use of the thing." IT'S NOT
> USED IN THE CONSTRUCTOR, DAMMIT! Why is that so freaking hard
> for you to understand?
It doesn't matter that you *don't* use it. The point is that there is
nothing preventing you from using it. In other words it is OK to give you
the access codes to launch the nukes as long as you don't use them.
By passing the reference to another piece of code you are telling that piece
of code that the object that the reference refers to really is this type of
object. In your C++ code you are lying. You give a reference to something
that really isn't that type of object and any reliance on it being that type
of object will likely fail. Later on the fact the object will become what
you said it was. To me the fact that the other code doesn't currently rely
on the object to be what you said it was does not make the practice safe.
Code changes and that may not be true years from now when some maintenance
programmer changes the code.
> > Whether or not it is a paradox, it _is_ a problem in your design, both
> > in Java and in C++.
>
> No it isn't. It's perfectly legal and stable in C++.
So what. You are relying on a quirck of one particular language and
complaining that other languages do not also have that quirck. Your design
is not portable.
C++ also lets me do all sorts of unsafe things like casting pointers to
whatever I want them to be. That doesn't mean other languages are obliged to
follow suit.
> > It is inherently unsafe to pass around pointers / references to
partially
> > constructed objects, and Java intentionally makes it difficult (albeit
not
> > impossible) to do so.
>
> And I, as a professional (and damned good) programmer know when
> I can safely use them.
In other words you know when it is safe to lie.
> I don't need Gosling to protect me from
> myself.
Well, we do want someone protecting us from you then, if you think it is OK
to pass around references to uninitialized objects.
I tried the equivalent code in VC++, by the way and it doesn't give an
error, but does give a warning. So even in the C++ community the practice
seems to be frowned upon. I also assume that you will have the same
difficulty when trying to port to C#.
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- java/69733: [new port] java/eclipse-sysdeo-tomcat, SysdeoSynopsis: [new port] java/eclipse-sysdeo-tomcat, Sysdeo Eclipse Tomcat Launcher plugin
Responsible-Changed-From-To: freebsd-java->nork
Responsible-Changed-By: nork
Responsible-Changed-When: Thu Jul 29 03:04:20 GMT 2004
Responsible-Changed-Why:
I'll handle this.
http://www.freebsd.org/cgi/query-pr.cgi?pr=69733
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 2
- 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
- 3
- 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
.
.
.
- 4
- JVM automatic updatesTwice now, I rave rejected a prompt to update the JRE in the morning
before I go out. On both occasions the PC was also on in the evening
(for longer periods) but the the prompt did not appear.
Can anyone confirm that Java only requests updates in the morning?
--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
- 5
- Getting plugin info from internet web serverHi,
I have written an application that is used for programming
flash/SRAM devices that are soldered to a PCB. The application is written
in Java, and I have split the functionality between the main application
and plugins that can be user selected then loaded. Currently I have 3
different plugins, for programming devices via JTAG and via a serial port.
What I would like to do is download information relating to the
plugins (version, dependencies, jar filename etc) and the plugins
themselves (packaged as jar files) from the internet. I plan to include a
file manager in my main application to access this information from a web
server, so that a user of the software doesn't have to manually download
plugins and copy them to the appropriate place in their local filesystem.
In addition, the file manager will also be able to check that the plugins
on a user's systems are the latest, compared to those available on the
web server.
My question is what is the easiest way to do this? If possible, I would
like to keep the web server side as simple as possible.
Thanks,
Paul Taylor.
--
Remove _rem_ before replying by email.
- 6
- GUI simple pong newbieHello i have just recently finished completing the code to a simple applet
that bounces a ball around the screen i am just wondering what it would
take to turn that into a pong program where would i set up the method for
the paddles and how to i distinguish between events of ball movement key
pressing and collisions?
--
Message posted via http://www.javakb.com
- 7
- find windows folderHi all! I have a question about Java and Windows systems...It's possible to
obtain the exact path of windows installation folder using Java functions? I
need this to be valid on different versions, from Win98 to WinXP
Thanks at all! Massimo
- 8
- Problem to download a file from 2 browsers at the timeI have this JSP that download an excel file.
It works fine if I use only one browser at the same time.
The problem is when I try to do this but from 2 browsers at the same
time. From each browser I can download a part of the file but not the
complete file.
It seems the browsers are sharing the bandwidth and when it starts to
download a file the other stops.
I have look the logs, and I saw the file has downloaded to the computer
and while the the jsp is working.
I don't undestand why the file has finished to download and while the
jsp is still executing.
Can you help me please?
do anybody try this JSP and tell me if the result is the same as me?
------------------------------------------JSP
-----------------------------------------------------------------------------------
<%@page contentType="application/vnd.ms-excel"%>
<%@ page language="java" import="java.io.*"%>
<%@ page language="java" import="java.util.*"%>
<%
Date fecha = new Date();
java.sql.Date fechaSQL = new java.sql.Date(fecha.getTime());
Calendar calendario = Calendar.getInstance();
calendario.setTime(fecha); // fecha es el Date de antes.
String strHour = String.valueOf( calendario.get(Calendar.HOUR) );
String strMinute = String.valueOf( calendario.get(Calendar.MINUTE) );
String strSecond = String.valueOf( calendario.get(Calendar.SECOND) );
String nombre = "FILE" + strHour + strMinute + strSecond + ".xls";
System.out.println( " IN OF " + nombre );
response.setContentType( "application/x-download" );
response.setHeader("Content-type","application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment; filename=\""
+ nombre + "\"");
System.out.println( nombre + " START" );
for (int l=0;l<30000;l++){
System.out.println( nombre + " " + l );
for (int k=0;k<250;k++){
out.write(nombre + " : ("+ l + "," + k + ")" + "\t" );
}
out.write("\n");
}
System.out.println( nombre + " END" );
%>
- 9
- font.properties.zh_TW for 1.4.2
--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
The font.properties.zh_TW file in native jdk14, inherited from
native jdk14 does not work as expected, and here is the right one for
it. Could you merge this into the next patchset?
Thanks!
--
Clive Tong-I Lin <email***@***.com> | http://tongi.org | PGP KeyID: A008C03E
--AqsLC8rIMeq19msA
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
--AqsLC8rIMeq19msA--
- 10
- Clever way to change fonts on the fly...??blah wrote:
> All the various Swing componets I use have their "font values" set to a
> global font that is discovered in a config file when my app loads up. Now
> if I change the value, my application needs to be restarted in order to get
> the new font.
>
> I know I can go around and manually set the new chosen font into each and
> every component... but I'm wondering if there's an easier way to handle all
> of this...
>
> Anyone face this or have any suggestions?
>
>
Swing gets its fonts via UIManager. Override the default values and then
follow the procedure for changing the Look And Feel.
- 11
- Customized form authentication with JSPLongwinded explanation ahead--I want to make sure I don't leave any
important details out.
I'm maintaining a client/server system that we use for automated grading of
student CS assignments. The basic
architecture consists of the grading server app itself and a servlet client
for student access, which runs on Tomcat in our case. Right now, the
servlet is starting to get large, as it's hardcoded to print one of several
pages depending on a URL parameter, and I'd like to break this into several
JSP pages instead.
We don't use any kind of standard authentication method in the servlet. The
servlet login page accepts the student's username/password as well as the
course they're enrolled in (chosen from a list), and we authenticate this
inside doGet() by passing a custom message object to our grading server,
which checks whether the student is enrolled in the course they chose, as
well as whether their username/password is valid. If their information is
valid, we store it in the HttpSession object and use that as they navigate
the site.
The problem is, I'm not sure how to translate this into JSP. I've seen some
examples using j_security_check, j_username, etc., but from what I can tell,
it looks like those are handled completely by the webserver, and requires
the user information to be stored in some file that the webserver can
access. This isn't a solution for us, because the grading server may not
even be on the same physical machine as the webserver.
So basically, here's what I'm looking for: A form-based authentication
method that lets me verify the student's username, password, and course
enrollment all at once, and store that in a session that I can use across
all the JSP pages. Obviously, I'd like all the pages to be protected so
they redirect to the login page if the user isn't logged in this session,
and I'd also like to be able to handle situations where if the session times
out and the user tries to navigate, it returns him to the login page, and
then redirects him to whatever original page he was trying to navigate to
when he successfully logs in.
From scouring other newsgroup posts, it looks like I might need to create my
own custom Realm (?), but I'm not sure where to start. I'd also like
something that's not tied specifically to Tomcat, but would work on most
popular JSP-supporting webservers, if possible.
If anyone can give me some advice or a push in the right direction, I'd
really appreciate it!
Thanks,
- 12
- ports/113467: Multiple "missing return value" errors buildingThe following reply was made to PR ports/113467; it has been noted by GNATS.
From: "Robert Backhaus" <email***@***.com>
To: email***@***.com, email***@***.com
Cc:
Subject: Re: ports/113467: Multiple "missing return value" errors building JDK on current
Date: Tue, 3 Jul 2007 13:14:32 +1000
Confirming that this is still an issue with current patchset. I am
bootstrapping with diablo-jdk-1.5.0.07.01_5 for freeBSD 6 (from
ports).
_______________________________________________
email***@***.com mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "email***@***.com"
- 13
- New EC200 embedded Java controller releasedSnijder Micro Systems just announced the public release of the second
generation of their Embedded Java?Controller (EJC? product line,
codenamed EC200.
The EJC is a family of embedded controllers that implement a
full-fledged Java platform for network-enabled and standalone
applications. The new EC200 modules provide an Ethernet based
connection to the Internet and numerous interfacing possibilities
including graphic LCD display, digital I/O, analog inputs, high speed
serial ports, dual I2C bus, Dallas 1-Wire, etc.
The software integrates Tao Group's intent?technology, featuring an
advanced Real Time Operating System and a Sun-certified Java Virtual
Machine (JVM) that combines unrivalled performance with minimal
footprint, due to the tight integration between kernel and JVM and to
the advanced translation technology which compiles all Java bytecode
to native code before execution. Java APIs are provided for efficient
access to hardware resources such as I/O ports, system memory and
memory-mapped devices, interrupts, and onboard peripherals. This
allows developers to adopt an all-in-one approach where applications,
system components, and even device drivers can be written entirely in
Java, without compromising on flexibility or performance.
More details can be found in the EJC website:
http://www.embedded-web.com/
- 14
- 15
- using proguard for lib jarsI need to shrink app jar itself and lib jars too, but it dosent work.
I have unpacked jars into a dir, put app classes threre and made a big jar.
Then i used proguard but it still didnt work.
|
|
|