Archive for the ‘JAVA’ Category

Craft Ajax applications using JSF with CSS and JavaScript

March 2nd, 2008 No comments

I’m working on a web site using JSP and I found this great article that should be helpful for JSP programmers.

Typical Web applications require the use of Cascading Style Sheets (CSS) and JavaScript, together with a server-side framework, such as JavaServer Faces (JSF). CSS lets you change the visual characteristics of Web components within Ajax and other applications so they can have a pleasant and distinctive look. In the first installment of this two-part series, find out how to use the CSS-related attributes of standard JSF components. In addition, learn how to create a custom JSF component that sets the default styles of nested components, making it very easy to ensure a consistent look for all pages of your Web application. You can also use this technique to programmatically set other component attributes, as you’ll see in Part 2, which will show how to make JSF forms more dynamic using JavaScript.

Categories: JAVA Tags:

An Interview With The Creator of Java

January 8th, 2008 No comments

RedmondDeveloper News has recently published an interview with James Gosling, the creator of the Java programming language. He talks about JavaFX, the technology that will compete Flash and Silverlight. He is in the developer team of JavaFX and in his perspective:

If you look at something like Flash, when you get to the much more advanced stuff — with richer interfaces, more complex network protocols, more complex APIs — it really falls short.

I can’t say if I agree or not. I haven’t worked with JavaFX yet, it’s not even out yet.

Categories: JAVA Tags:

Creating a Distribution Package of Your Java Application

December 24th, 2007 No comments

So you picked up a project and write the code in Java then comes the time to distribute your program. You are going to need to create an installer package rather than distributing it directly as a JAR file.

It is better to give them a normal plain installer package that they know how to run through the wizard.

Geek Stuff Javazing blog has an article on how to do that. Ultimately before you’ll be able to follow the tutorial you going to have to download the following tools:
1. Ant tool.
2. NSIS: a scriptable win32 installer/uninstaller system.
3. ProGuard: java shrinker, optimizer, and obfuscator.
4. Launch4j: Cross-platform Java executable wrapper for creating lightweight Windows native EXEs.
5. NSIS Ant task: to compile NSIS scripts.

Categories: JAVA Tags:

Java + YouTube = Video Surfer Application

December 1st, 2007 No comments

Sure we know you can do YouTube mash-up with Flex but ever thought of doing it using Java?! Here’s a great article shows how to interact with YouTube from Java. The same simple Web 2.0 mash-up concept applies here when you use Flash and PHP to interact with YouTube as shown in my previous post [I can’t find it, it’s somehwere on my blog]. It’s all about reading XML and fetching the information from it. However, the “fetching” process happens on the background when you write your program using an API like the Google’s YouTube Data API.

I really gotta stop… my keyboard is running out of batteries! I had to press every letter for a bit longer to actually appear on the screen! Why I got the feeling that’s a wrong title for the post?!

Categories: JAVA Tags:

‘Six’ best web frameworks in Java

November 30th, 2007 No comments

Great article I found on the web shows the best six Java frameworks for web developers. The unfocused energy on Java frameworks has forced many developers to select a framework path they are unsure off. This article is so helpful for whoever want to get a small idea of best six Java web frameworks out there. If you are one of them, fasten your seat belt and start reading!

Categories: JAVA Tags:

Develop and Run Your First JavaFX Script Program in the Next Few Minutes

November 10th, 2007 No comments

I haven’t programmed yet for JavaFX, but I can’t wait to do so. James Weaver‘s JavaFX blog shows the faster way he knows to create your first JavaFX application. If you follow his steps you’ll create your first program using JavaFX which will output a certain text written on a frame.

Categories: JAVA Tags:

Creating PDF Dynamically Using Java

November 10th, 2007 2 comments

Creating PDF documents using Java is really interesting. Enterprise Technology Tips posted about how to create PDF documents on the go. By using iText open source library for Java you can create PDF, HTML, and RTF documents dynamically.

Categories: JAVA Tags:

JavaFX: Interview with Tom Ball

September 27th, 2007 No comments

An interview with Tom Ball, a member of Java JDK team and lead of openjfx compiler team. He talks about openjfx, JavaFX, JavaFX Mobile the most anticipated Java 1.6 features to build RIAs.

Categories: JAVA Tags:

Java Can Have A Memory Leak Dude!

September 19th, 2007 1 comment

So you think there is no memory leak in java? Garbage Collector? Well, everything has its weakness. There is an easy way programmers in java can have a memory leak.

Did you say something?! Don’t believe me?! I’m not making fun of you! Okay then check out this post

Categories: JAVA Tags:

Video: Java is Everywhere

August 31st, 2007 No comments