Anyone started developing java web application using the google app engine?
what kind of application you all developing? And what is the best way to get started? ...
what kind of application you all developing? And what is the best way to get started? ...
I know when Leopard came out everybody (well, everybody that was a Java developer and cared enough to do development on a Mac) was pissed that there was no Java 6 SDK support. I know somebody provided some kind of hack way a few months after Leopard was released, but I could have sworn that I read sometime later that Apple and/or Sun fin...
The Google AppEngine development server simulates Google's backend database with an embedded database. It creates a file on you local disk that you can delete to clear the DB. Is there a tool that allows to browse and edit this data, similar to the Data Viewer that you get for deployed applications? Clarification: I am asking about the ...
I want to display a set of images (with associated text) on my window. I want to iterate through them using a previous and a next button. So far, I have only been able to associate the image with a JLabel. =/ How do I go about doing the rest? Should I use a different container for the complete set? Should I load the images on a data str...
Ok, I'm taking the JavaFX with Passion course and have an issue that I can't seem to figure out. It's similar to this question - http://stackoverflow.com/questions/657486/why-doesnt-this-binding-code-work-as-expected-in-javafx def numbers = [1..10]; var currentNumber = 0; for (currentNumber in numbers){ var evenOrOdd = bind if (n...
How can I calculate the logarithm of a BigDecimal? Does anyone know of any algorithms I can use? My googling so far has come up with the (useless) idea of just converting to a double and using Math.log. I will provide the precision of the answer required. edit: any base will do. If it's easier in base x, I'll do that. ...
Is ext js compatible with .jsp, java backend? ...
Say I have a very simple java object that only has some getXXX and setXXX properties. This object is used only to handle values, basically a record or a type-safe (and performant) map. I often need to covert this object to key value pairs (either strings or type safe) or convert from key value pairs to this object. Other than reflecti...
I'm trying to read a resource (asdf.txt), but if the file is bigger than 5000 bytes, (for example) 4700 pieces of null-character inserted to the end of the content variable. Is there any way to remove them? (or to set the right size of the buffer?) Here is the code: String content = ""; try { InputStream in = this.getClass().getRes...
Hello! Can I take a foreign class in Java which conforms to one of my custom interfaces and "cast" it to that interface? Example: public class YouCanNotChangeMe_IAmNotYours{ public void doSomethingSpecial(); } public interface MyInterface{ void doSomethingSpecial(); } Can I use that foreign class in places where my interfac...
Hello, everyone. Suggest me a book on Oracle Application Framework, please. OAF is not Oracle ADF. ...
I was wondering if there is a way to extract an Image object from a Cursor object in Java. A use for this would be for instance : Image img = extractCursorImage(Cursor.getDefaultCursor()); Which you then can draw on a toolbar button (that's the purpose I want it for). ...
Is it possible to use Toplink Essentials without application server, just on desktop application? ...
I've a Javascript source that uses a Java class that defines a "delete" method (using jdk6 scripting). Since delete is a keyword, I cannot invoke that method. In JavaFX script any sequence of characters enclosed in <> is treated as a lexical identifier. So you can use "insert", that is a keyword, as an identifier: var textField = new ...
Hi, my question is related to my previous question (How to display data from txt file in specific format). I was wondering if it is possible at the first place, to store data on txt file in specific format rather than store it first and then retreived it again and display it in specific format? e.g. instead of store data on txt file li...
I have a Random into a class which aims to generate random sequences in different contexts: this is the result of a porting from Java code. In the Java version everything works fine since the java.lang.Random class has the method setSeed, which permits the change of the seed value dynamically. Random rnd = new Random(); ... rnd.nextInt(...
We host a service (servlet running on jboss), which receives something like 5-6 requests per second. Every request needs to connect to mysql through hibernate. Most of our requests do selects, with an insert/update every 5th/6th request. The hibernate mysql connection gets timed out after mysql connection time out period (8 hours). Even...
In Java, I have a set, and I want to turn it into a sorted list. Is there a method in the collections package that will do this for me? ...
Lets say I have a file t.txt, a directory t and another file t/t2.txt. If I use the linux zip utility "zip -r t.zip t.txt t", I get a zip file with the following entries in them (unzip -l t.zip): Archive: t.zip Length Date Time Name -------- ---- ---- ---- 9 04-11-09 09:11 t.txt 0 04-11-...
Hi, Tomcat exposes a good wealth of information about its internals via JMX. You can see data source, connector usage, thread pools, you name it. However, it also exposes the password of the JDBC datasource (Catalina->DataSource->javax.sql.DataSource->...). Is there any way to hide this information from being published ? We've found ...