in java

search for more blogs here

 

"new java.sql.Time(3600000) = 02:00:00" posted by ~Ray
Posted on 2008-11-13 12:15:15

hi i'm a little confused with time in java everyone know that 3600000 millisecond = 01:00:00 (1h) so what is going on with this: Everyone also knows that the standard "stringification" of such an object provides you with the date/time in your timezone while the value relates to GMT. 01:00 GMT is 02:00 CET. Unless otherwise licensed code in all technical manuals herein (including articles. FAQs samples) is provided under this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237630

comments | Add comment | Report as Spam


"getMediaTime ??" posted by ~Ray
Posted on 2008-06-13 06:08:48

; InputStream is = getClass() getResourceAsStream(url); player = Manager createPlayer(is, I get everytime 0 ???why i want the function which gave me the length of media in ms. BR color coder wrote:i want the function which gave me the length of media in ms. Then you need Player getDuration(). Player getMediaTime() returns the current media measure. i undergo tried it but it is the same result. note :getMediaTime () .. can't be derefereneced i be a real say. Unless otherwise licensed code in all technical manuals herein (including articles. FAQs samples) is provided under this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237627

comments | Add comment | Report as Spam


"getMediaTime ??" posted by ~Ray
Posted on 2008-06-13 06:08:48

; InputStream is = getClass() getResourceAsStream(url); player = Manager createPlayer(is, I get everytime 0 ???why i want the answer which gave me the length of media in ms. BR color coder wrote:i want the answer which gave me the length of media in ms. Then you be Player getDuration(). Player getMediaTime() returns the current media time. i undergo tried it but it is the same result. note :getMediaTime () .. can't be derefereneced i need a real answer. Unless otherwise licensed code in all technical manuals herein (including articles. FAQs samples) is provided under this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237627

comments | Add comment | Report as Spam


"jar problem" posted by ~Ray
Posted on 2008-03-12 23:06:16

hi all,I undergo made an applications with netbeans and used some other aided jar files into my applicationhow can i make a jar file for my application that i can run from any pc Ezza,My advise is create it with Ant outside of Netbeans. The silly boogers who wrote Netbeans where so wrapped up in there own cleverness they've made it almost impossible to trace exactly which library jar's a particular communicate relies upon. When you've got it building and running from ant you know you know what ALL the dependencies are.. then you just zip up all your required libraries and your jar file.. or inform your clients where they might download the required libraries themselves. By the way... Netbeans Swing GUI designer automatically (without warning) creates dependencies on a bring together of Layout classes which only exist in the Netbeans library. The Wankas!Cheers. Keith. I like ant.. but I've heard from those who know a bit of both that maven was easier to choose up.. but they all knew ant fairly well before picking up maven.. so I really don't experience. I can tell you that ant is ubiquitous.. it's the most commonly used java make utility with the widest support in the most products.. in fact NetBeans uses it internally. And it wouldn't surprise me if JBuilder was built with ant. Ant is a "core skill" for java programmers. Some knowledge is (almost always) essential.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237620

comments | Add comment | Report as Spam


"jar problem" posted by ~Ray
Posted on 2008-03-12 23:06:09

hi all,I have made an applications with netbeans and used some other aided jar files into my applicationhow can i make a jar register for my application that i can run from any pc Ezza,My discuss is build it with Ant outside of Netbeans. The silly boogers who wrote Netbeans where so wrapped up in there own cleverness they've made it almost impossible to trace exactly which library jar's a particular communicate relies upon. When you've got it building and running from ant you experience you know what ALL the dependencies are.. then you just zip up all your required libraries and your jar file.. or inform your clients where they might download the required libraries themselves. By the way... Netbeans Swing GUI designer automatically (without warning) creates dependencies on a couple of Layout classes which only exist in the Netbeans library. The Wankas!Cheers. Keith. I like ant.. but I've heard from those who know a bit of both that maven was easier to choose up.. but they all knew ant fairly well before picking up maven.. so I really don't experience. I can tell you that ant is ubiquitous.. it's the most commonly used java make utility with the widest support in the most products.. in fact NetBeans uses it internally. And it wouldn't surprise me if JBuilder was built with ant. Ant is a "core skill" for java programmers. Some knowledge is (almost always) essential.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237620

comments | Add comment | Report as Spam


"Linux and real-time Java power German traffic lights" posted by ~Ray
Posted on 2008-01-01 21:11:57

A study European vendor of city-wide merchandise management systems is porting its flagship traffic light controller to Linux and real-time Java. Signalbau Huber says its Actros controller will better cater safety-critical requirements after moving to Sysgo ELinOS/PikeOS 4.1 with Aonix’s PERC real-time Java runtime. <a href="" title=""> <abbr call=""> <acronym call=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Forex Groups - Tips on Trading

Related article:
http://linux.compspies.net/2007/11/17/linux-and-real-time-java-power-german-traffic-lights-2/

comments | Add comment | Report as Spam


"SOS!!! Needy Help for Servlet Test!!!" posted by ~Ray
Posted on 2007-12-15 14:59:41

how to evaluate servlet with the label below in method doPost or doGet,doPost(HttpServletRequest req,HttpServletResponse resp){DataInputStream dis =null;arrange data="";dis = new DataInputStream(req getInputStream());data=dis readUTF();// readInt(),readBoolean() ,etc may appliedSystem out println("data:"+data);}if i code req getParameter("param"); then i wrote test programm like this communicate setParameter("param","something");the servlet can get the value my question is ,how can i evaluate the code above?how to set the enter value so that the HttpServletRequest object can construe the data? Easiest way is to act a small HTML create which invokes the servlet. You can also create verbally a small Java application which invokes a HttpURLConnection or URLConnection on the URL of the servlet.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5237581

comments | Add comment | Report as Spam


"Implementing RESTful Web Services in Java" posted by ~Ray
Posted on 2007-12-09 13:31:51

Christopher Deckers created this excellent Firefox add-on that radically simplifies DZone voting. It provides a voting widget on any summon you visit from DZone letting you vote directly from that summon without returning to DZone. Voting has never been easier! This Tech Tip ordain show you how to write RESTful web services in Java that change to the JAX-RS: Java API for RESTful Web Services (JSR-311) specification and its reference implementation - Jersey. You'll learn some of the principles of Representational State assign (REST) and get introduced to JAX-RS and Jersey.

Forex Groups - Tips on Trading

Related article:
http://feeds.dzone.com/~r/dzone/java/~3/186244436/implementing_restful_web_services_in_java.html

comments | Add comment | Report as Spam


"Implementing RESTful Web Services in Java" posted by ~Ray
Posted on 2007-12-09 13:31:51

Christopher Deckers created this excellent Firefox add-on that radically simplifies DZone voting. It provides a voting widget on any page you visit from DZone letting you choose directly from that summon without returning to DZone. Voting has never been easier! This Tech Tip will show you how to create verbally RESTful web services in Java that conform to the JAX-RS: Java API for RESTful Web Services (JSR-311) specification and its reference implementation - Jersey. You'll learn some of the principles of Representational express Transfer (be) and get introduced to JAX-RS and Jersey.

Forex Groups - Tips on Trading

Related article:
http://feeds.dzone.com/~r/dzone/java/~3/186244436/implementing_restful_web_services_in_java.html

comments | Add comment | Report as Spam


"Implementing RESTful Web Services in Java" posted by ~Ray
Posted on 2007-12-09 13:31:41

Christopher Deckers created this excellent Firefox add-on that radically simplifies DZone voting. It provides a voting widget on any summon you visit from DZone letting you choose directly from that page without returning to DZone. Voting has never been easier! This Tech Tip ordain show you how to write RESTful web services in Java that change to the JAX-RS: Java API for RESTful Web Services (JSR-311) specification and its reference implementation - Jersey. You'll learn some of the principles of Representational State Transfer (REST) and get introduced to JAX-RS and Jersey.

Forex Groups - Tips on Trading

Related article:
http://feeds.dzone.com/~r/dzone/java/~3/186244436/implementing_restful_web_services_in_java.html

comments | Add comment | Report as Spam


"Getting HTML form values in Servlet" posted by ~Ray
Posted on 2007-11-17 15:26:18

Welcome to the Java Forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will: have find to affix topics have the possibility to earn one of our surprises if you are an active member access many other special features that ordain be introduced later. Registration is fast simple and absolutely remove so gratify. ! If you have any problems with the registration process or your account login please. We can get values from HTML form using HttpServletRequest. In the example below request is of type HttpServletRequest. String userName = request getParameter("userName");String userName = request getParameter("password");arrange userName = request getParameter("location");

Forex Groups - Tips on Trading

Related article:
http://www.java-forums.org/java-tips/3913-getting-html-form-values-servlet.html

comments | Add comment | Report as Spam


"Socket closed error when trying to run Active Directory reconciliation" posted by ~Ray
Posted on 2007-11-09 17:12:36

I am running IDM 5.5 SP2 and I am getting a Socket closed error everytime I try to run AD reconciliation. The actual error message is: "Error iterating accounts for resource AD-NA:com waveset util. WavesetException: There was a problem getting objects java net. SocketException: Socket closed "The AD resource seems fine. The test connection comes back sucessful. I can act AD accounts fine. I just can not run the reconciliation. It use to run before but now all of a sudden it stoppped working. I can not figure out where this error is coming from or how to fix it. I've restarted the app. I've also restarted the gateway function on our gateway server. We undergo two gateway servers so I tried to point the resource to the other gateway and I get the same result. Has anyone seen this before or can anyone point me in the right direction as to how to debug this more? This can happen if your gateway is not in the allot domain. I am not sure but I evaluate that what happens is anonymous find allows you to ask AD so many times before it closes the socket connection. If that doesn't work make sure the gateway function is using an administrator be with the alter privileges. I'm pretty sure this is not a gateway or AD problem. I was able to inform our QA dilate of IDM to our prod gateway and the harmonise started to run (after I set the policy up to do no linking/unlinking). I noticed that the server had a status of "recovered". I recycled the app so its now "active" again. Still didn't bring home the bacon. On the resource page it won't even let me alter move on my AD resource and do "Reconciliation->Incremental harmonise Now". When I try to the summon just hangs. If I try to schedule the recon through the policy page nothing seems to come about either. The status/history pages do not dress except for the "Next incremental reconciliation scheduled at XXXX" changes to the next scheduled measure. The 'Reconciliation began at..." and "Reconciliation completed at..." times do NOT change. My guess is there is some xml object out there that needs to be deleted but for the life of me I have no idea how to act send with this.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5216455

comments | Add comment | Report as Spam


"Request response problem" posted by ~Ray
Posted on 2007-11-03 13:44:44

I am using WAS 5.0 to run my application using JSF pages. The problem I am facing isWhen i try displace a request which involves huge data insertion in SQL server using IE the browser shows "Page not found"after 2minutes and does not act for the response but the communicate is processed and the process completes after 15 minutes. When i try to run the same in firefox it works fineis it related to some time out or communicate reaponse settings in IE. Not sure about the workings of IE. A way around it would be to process the data insertion in the background (new thread forgive the lazy terminology) and send a full "gratify wait" page as the response. If the user is required to act then get the summon to check if it has finished at regular intevals (this page will be fully loaded so no timeout issues). Or you could change surface apply a develop bar using AJAX http://www w3schools com/ajax/default asphttp://forum java sun com/go jspa?forumID=45&threadID=5202310http://www google com/search?q=ajax+progress+barBamkin

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5216422

comments | Add comment | Report as Spam


"Request response problem" posted by ~Ray
Posted on 2007-11-03 13:44:43

I am using WAS 5.0 to run my application using JSF pages. The problem I am facing isWhen i try send a communicate which involves huge data insertion in SQL server using IE the browser shows "Page not found"after 2minutes and does not wait for the response but the request is processed and the process completes after 15 minutes. When i try to run the same in firefox it works fineis it related to some measure out or request reaponse settings in IE. Not sure about the workings of IE. A way around it would be to process the data insertion in the accent (new go forgive the lazy terminology) and send a beat "please act" page as the response. If the user is required to wait then get the summon to check if it has finished at regular intevals (this summon will be fully loaded so no timeout issues). Or you could change surface implement a develop bar using AJAX http://www w3schools com/ajax/fail asphttp://forum java sun com/thread jspa?forumID=45&threadID=5202310http://www google com/search?q=ajax+develop+barBamkin

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5216422

comments | Add comment | Report as Spam


"Session expires when servlets are reloaded" posted by ~Ray
Posted on 2007-10-28 11:43:08

HiI'm using Sun Java System Web server 7.0 on Windows 2003 server. When I update my servlets the session expires. I update the charge filen and the servlets reloads perfect but my users session expires. Is it posible to reload servlets without session expires ? And how do I do that ?Regards. Stian MartinsenNorwayEdited by: StianNorway on Sep 14. 2007 3:59 AM I don't experience about Sun's server but with Tomcat if you are careful to alter sure that every object bound to session (directly or indirectly) implements java io. Serializable. Tomcat will deliver all your session information to disk when the application restarts so they are all live when it comes back up. construe the documentation for your server and see if it has a similar feature.

Forex Groups - Tips on Trading

Related article:
http://forum.java.sun.com/thread.jspa?threadID=5216433

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the in java archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
36 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


in java