Hello crew
I want to learn core java design patterns.
Could any one of you suggest good pdf where I could know about the design patters in java with simple examples.
Thanks in advance :-)
Hi all.
Can some one recommend a couple of good websites/bloogs/RSS/Podcasts where someone interested in Java can keep himself informed on the latest trends?
(I was thinking in something like Ajaxian.com for Java)
As always, help will be eternally appreciated.
I have a Mac Java app bundle that has problems opening an OpenGL window from a SWT dialog in a single process. It just doesn't work.
To solve this problem I would like to open a SWT dialog in one instance of the Java app and then have it launch another instance of itself with a parameter saying "this time open the OpenGL window". The part I don't know how to do is finding out what "itself" is on a Mac.
How can I do that?
I noticed that Real Time Java 2.2 was released back in September, seems to have come a long way from when I last looked at it. However, does anybody know of any real world uses, commercial or academic to date?
http://java.sun.com/javase/technologies/realtime/index.jsp
I currently have a web service built on WCF. It's still in its infancy, so, major changes are still possible. I've been thinking on porting it from WCF to a Java-based solution since I'd like to have a Linux-based backend. What would be the best way to accomplish this "conversion"? Any advantages WCF may have that Java lacks?
I was wondering which would be the most efficient approach to implement some kind of background task in java (I guess that would be some kind of nonblocking Threads). To be more precise - I have some java code and then at some point I need to execute a long running operation. What I would like to do is to execute that operation in the background so that the rest of the program can continue executing and when that task is completed just update some specific object which. This change would be then detected by other components.
I need a simple to use / good docs / good support java lib to read and write word documents, namely word 2007 support (and word 2010 support planned).
As the project I'm in has budget and time-constraints I don't mind buying a commercial lib :) I know they are XML files in a somewhat open format but I really don't want to waste time understanding the XML specification.
Any good recommendations from happy customers?
(Right now my choice is going to Aspose.Words for Java)
class Bouncy<T> extends Throwable {
}
// Error: the generic class Bouncy<T> may not subclass java.lang.Throwable
Why doesn't Java support generic Throwables?
Refereing to my previous question,
http://stackoverflow.com/questions/2682364/how-to-stich-to-image-objects-in-java
I successfully stiched two java.awt.Image objects, now I need to stich multiple objects of the same type. Is there any API or library available for that
Basically I'm trying to proxy some webservices locally (for reasons I won't go into now) and then have a Java application call it.
I'm looking at BlazeDS since it seems to do just this, mostly to avoid the crossDomain.xml file required by Flex to call webservices. However I can't seem to find any reference on how to connect through a Java client (probably using Axis2).
Any suggestions, and especially tutorials, would be greatly appreciated.
I want to fill a text field of a HTTP form through java and then want to click on the submit button through java so as to get the page source of the document returned after submitting the form.
I can do this by sending HTTP request directly but I don't to this in this way.
Very Urgent. You can also paste the code or demo code to explain in a better way.
Hello
I need to create a async webservice using cxf with java first approach. But i am unable to
find any web resource/ website which tells me how to do this?
Can you please tell how can I write a async webservice using CXF with java first approach?
Thanks
Shekhar
Hi,
Anyone give example program which explains Java Threads in a simpler way.For example,we have the following threads t1 , t2 and t3 . Here I want code that shows each thread is executing simultaneously not sequentially like non-threaded java programs.
Thx
I have learnt JPA recently. Now I want to use it in one of my commercial product. But before proceeding, I want to see some example JPA Java Desktop applications so as to have a better understanding of using JPA in desktop applications.
I have searched google for this but all I found was tutorials on JPA with examples of entities.
I need some good real java desktop applications which have used JPA.
I have a an array of byte, size n, that really represents an array of short of size n/2. Before I write the array to a disk file I need to adjust the values by adding bias values stored in another array of short. In C++ I would just assign the address of the byte array to a pointer for a short array with a cast to short and use pointer arithmetic or use a union.
How may this be done in Java - I'm very new to Java BTW.
C# properties (I mean get and set methods) are a very useful feature. does java have something similar to C# properties too. I mean how we can implement something like the following C# code in java:
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
thank you in advance
What is the best way to download an mp3 file in java (on Android sdk)?
http://developer.android.com/reference/java/net/package-summary.html
Should I be using sockets? If so - what kind of "Stream" reader should I use?
I have also read something about "intents" - is this something that is applicable here?
I am also curious as to what should one do if connection gets interrupted - can I resume the download somehow or restart it?
Any tips?
I know about C++ pure virtual classes, but Java went one step further and created a first-class (no pun intended) concept for multiple-interface (not implementation) inheritance, the interface. It's now a staple of major statically-typed languages. Did Java invent the interface concept? Or did it appear in older languages also as a first-class concept?
Hello Guys
I am trying to access an Shellfolder like: "Shell:::{35786D3C-B075-49b9-88DD-029876E11C01}"
via Java on a Windows PC ... but I havn't found a way to do so up to now.
Is this generally possible with Java? Recently I uncovered the sun.awt class "ShellFolder"... Does this class provide the abilitiy to access such an folder?
thanks for your help Ripei
Hey,
I'd like to convert an array to a set in Java. There are some obvious ways of doing this (i.e. with a loop) but I would like something a bit neater, something like:
java.util.Arrays.asList(Object[] a);
Any ideas?
Cheers,
Pete
Hello there
I'm facing problem with getting start with the Open Social API in java. I already google and bing it but still didn't found a sample to POC the usage of API for console or desktop based application. Can anybody suggest any link, forum or if possible explain the tedious flow of working of this API.
You can try this link to try this API http://code.google.com/p/opensocial-java-client/
Thank You
When I try to use java.lang.System.console(), I get a null pointer. I can still write to out and read from in, but this only works when I run straight from my IDE. When I run the .jar file directly, nothing happens. How can I create a console like I'd see using std::cout for use in Java?
I've been convinced that I should learn another language (primarily PHP/Javascript oriented) and decided on Java.
I learned my basics of PHP, years ago, from www.w3schools.com and Javascript from another similar site (since taken down) that had a series of tutorials that took you from nothing to something.
Is there a similar site for Java? Is there a recommended IDE (Eclipse?) and site to learn?
So I am writing a Java code to represent a heap sort and to represent the operation I need to have a waiting function which will wait between different operation but I am not sure if there is a function in Java that does that or do I need to write the function by myself and how would i do that.
Representing heap sport is a homework but writing the waiting function isn't so I appreciate your help