JavaPins - Latest published stories in JAVA
1
Pins

How to create drop down login and follow me box « harryjoy

published 269 days, 14 hours ago posted by anishaanisha 270 days, 16 hours, 57 minutes ago
Tuesday, August 28, 2012 6:32:53 PM GMT Monday, August 27, 2012 3:36:06 PM GMT
You may have seen follow me button on some site by clicking on which a box will slide up containing details. login drop down box This article describes how to create such a drop down/up box using JQuery and CSS. Here I have used JQuery 1.6.2-min.js. The HTML code: (more)
category: JAVA | clicked: 2 | comment | | source: harryjoy.com
tags: drop down login, follow me
1
Pins

Hot tips on using Eclipse effectively - Java Code Geeks

published 269 days, 14 hours ago posted by anishaanisha 270 days, 16 hours, 43 minutes ago
Tuesday, August 28, 2012 6:32:53 PM GMT Monday, August 27, 2012 3:49:38 PM GMT
Following are some tips that shall help you in avoiding potential issues and for being a little more productive while working with eclipse. Avoid installation problems Never install a new version of Eclipse on top of an older version. Rename the old one first to move it out of the way, and let the new version be unpacked in a clean directory. (more)
category: JAVA | clicked: 13 | comment | | source: www.javacodegeeks.com
tags: Eclipse, Java
1
Pins

Code4ReferenceHow to read environment variable in 5 different languages.

published 270 days, 18 hours, 15 minutes ago posted by anishaanisha 271 days, 13 hours, 58 minutes ago
Monday, August 27, 2012 2:18:24 PM GMT Sunday, August 26, 2012 6:35:24 PM GMT
In code development, be it one or the other requirement, we need to access the environment variable. In this post, the environment variable will be read/set in 5 different programming languages.C language In C, environment variables can be read and set by getenv() and putevn() methods respectively. (more)
category: JAVA | clicked: 4 | comment | | source: code4reference.com
tags: environment variable, Java
1
Pins

Code4ReferenceCan you really swap Integers' value in java?

published 270 days, 18 hours, 15 minutes ago posted by anishaanisha 271 days, 13 hours, 58 minutes ago
Monday, August 27, 2012 2:18:24 PM GMT Sunday, August 26, 2012 6:34:28 PM GMT
One of the favorite basic questions asked by the interviewers: Q. Write a function to swap two integers? A “C” programmer will write function similar to . (more)
category: JAVA | clicked: 1 | comment | | source: code4reference.com
tags: Integeration, Java, swap
1
Pins

Transparent JFrame using JNA

published 271 days, 15 hours, 43 minutes ago posted by harryjoyharryjoy 272 days, 21 hours, 53 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Saturday, August 25, 2012 10:39:39 AM GMT
Code for making a JFrame transparent using Java native access (JNA). (more)
category: JAVA | clicked: 9 | comment | | source: harryjoy.com
tags: java swing jframe transparent jna java-native-access
1
Pins

Trying Architexa for the first time « harryjoy

published 271 days, 15 hours, 43 minutes ago posted by harryjoyharryjoy 272 days, 21 hours, 52 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Saturday, August 25, 2012 10:41:14 AM GMT
Architexa is a really useful tool for generating UML diagrams for Java projects in Eclipse. Most UML tools out there give you functionality of generating classes from the diagram you have created. But in Architexa you have a reverse functionality; it generates diagrams from existing code.  It helps a team to understand and document collaboratively a large Java code base. Starting from today, Architexa is available for free for individuals to use, and this post talks about my experience using i... (more)
category: JAVA | clicked: 4 | comment | | source: harryjoy.com
tags: java eclipse architexa plugin tool
1
Pins

File transfer in android with asmack and Openfire « harryjoy

published 271 days, 15 hours, 43 minutes ago posted by harryjoyharryjoy 272 days, 21 hours, 51 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Saturday, August 25, 2012 10:42:12 AM GMT
I have seen many peoples struggling from file transfer in asmack – Android build environment and patches for smack. I tried same library with Openfire server after some debugging got success in it. So I will like to share my problem and solution for it.  I found that the problem is in Byte Stream host, it tries to connect to wrong host for initiating file transfer using byte streams.  If you have not configured the file transfer proxy properly then it will choose 127.0.0.1 or localhost o... (more)
category: JAVA | clicked: 0 | comment | | source: harryjoy.com
tags: java android file-transfer asmack openfire
1
Pins

What is Difference between String and StringBuffer in Java

published 271 days, 15 hours, 43 minutes ago posted by javabuddyjavabuddy 271 days, 18 hours, 37 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Sunday, August 26, 2012 1:55:34 PM GMT
Some of important diff between both of them and when to use String and StringBuffer in Java. (more)
category: JAVA | clicked: 6 | comment | | source: java67.blogspot.sg
tags: Java
1
Pins

Top Java design pattern interview questions for programmer

published 271 days, 15 hours, 43 minutes ago posted by javabuddyjavabuddy 275 days, 18 hours, 38 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Wednesday, August 22, 2012 1:55:08 PM GMT
Questions from design pattern and software design are always have places in most programming interviews doesn't matter its Java or C#. This become even more important if you are going for application developer job. Its often seen that good programmer are also good on software design and utilizing design pattern, it require practice to get perfect. This question may be a good starter before appearing to interviews as far as design pattern concerns .. (more)
category: JAVA | clicked: 23 | comment | | source: javarevisited.blogspot.sg
tags: Design Pattern, Java
1
Pins

Inspired by Actual Events: Recent Java News - Mid-August 2012

published 271 days, 15 hours, 43 minutes ago posted by anishaanisha 280 days, 14 hours, 31 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Friday, August 17, 2012 6:02:04 PM GMT
Oracle has released significant announcements regarding Java in recent weeks. I summarize some of these in this post.Java SE 6 End of Life Extended to 2013 (more)
category: JAVA | clicked: 7 | comment | | source: marxsoftware.blogspot.gr
tags: Java
1
Pins

Inspired by Actual Events: NetBeans 7.2: Refactoring Constructor As Static Factory

published 271 days, 15 hours, 43 minutes ago posted by anishaanisha 280 days, 14 hours, 32 minutes ago
Sunday, August 26, 2012 4:49:46 PM GMT Friday, August 17, 2012 6:01:11 PM GMT
In the post NetBeans 7.2: Refactoring Parameterized Constructor As Builder, I looked at how NetBeans 7.2 supports refactoring a constructor to a builder as described in Item 2 of the Second Edition of Effective Java. (more)
category: JAVA | clicked: 4 | comment | | source: marxsoftware.blogspot.gr
tags: Constructor, netbeans 7.2
1
Pins

How to format String in Java – printf Example

published 273 days, 14 hours, 38 minutes ago posted by anishaanisha 283 days, 26 minutes ago
Friday, August 24, 2012 5:54:56 PM GMT Wednesday, August 15, 2012 8:06:57 AM GMT
String format and printf ExampleHow to format String in Java is most common problem developer encounter because classic System.out.println() doesn’t support formatting of Stringwhile printing on console. For those who doesn’t  know What is formatted String ? here is a simple definition,  Formatted String is a String which not only display contents but also display it in a format which is widely accepted like including comma while displaying large numbers e.g. 100,000,000 etc. Displaying formatted String ... (more)
category: JAVA | clicked: 12 | comment | | source: javarevisited.blogspot.gr
tags: format, Java, String
1
Pins

Creating a Basic JDBC application | Code 2 Learn

published 278 days, 3 hours, 1 minute ago posted by anishaanisha 284 days, 14 hours, 29 minutes ago
Monday, August 20, 2012 5:31:33 AM GMT Monday, August 13, 2012 6:03:36 PM GMT
Today we will be creating a Basic JDBC application i.e. an application that will be able to retrieve information (studentname, rollno, class, DOB, etc) from the database. I already gave a tutorial on connecting SQL Server using JDBC-ODBC Bridge. (more)
category: JAVA | clicked: 8 | comment | | source: www.code2learn.com
tags: application, JDBC
2
Pins

Testing antipatterns

published 278 days, 3 hours, 1 minute ago posted by jamesjames 286 days, 18 hours, 15 minutes ago
Monday, August 20, 2012 5:31:33 AM GMT Saturday, August 11, 2012 2:17:35 PM GMT
When you look at the test code you cannot see which type of exception is thrown. First it is better for clarity to document which type is thrown and second any bugs in the called code who throw unintended exceptions are swallowed here. Better: try { callFailingMethod() fail() } catch (ParseException e) { } Problems: If it fails you don’t see why: so always use a message for fail. Better: ... (more)
category: JAVA | clicked: 12 | comment | | source: schneide.wordpress.com
tags: Antipattern, Testing
1
Pins

Transaction Isolation Levels in JDBC | Code 2 Learn

published 282 days, 23 hours, 45 minutes ago posted by anishaanisha 284 days, 14 hours, 28 minutes ago
Wednesday, August 15, 2012 8:47:35 AM GMT Monday, August 13, 2012 6:04:46 PM GMT
The transaction isolation levels in JDBC help us to determine whether the concurrently running transactions in a DB can affect each other or not. If there are 2 or more transactions concurrently accessing the same DataBase, then we need to prevent the actions of the transactions from interfering with each other. (more)
category: JAVA | clicked: 9 | comment | | source: www.code2learn.com
tags: JDBC, Transaction isolation level
1
Pins

Advance I/O Streams in Java | Code 2 Learn

published 282 days, 23 hours, 45 minutes ago posted by anishaanisha 284 days, 14 hours, 25 minutes ago
Wednesday, August 15, 2012 8:47:35 AM GMT Monday, August 13, 2012 6:07:34 PM GMT
A Stream is a flow of data from the source to a sink. Source and sink are also called input and output streams, respectively.  The I/O Streams are of two Kinds : Byte Streams  Character Streams (more)
category: JAVA | clicked: 11 | comment | | source: www.code2learn.com
tags: I/O streams, Java
1
Pins

Java High CPU troubleshooting guide – part 1 ~ Java EE Support Patterns

published 282 days, 23 hours, 45 minutes ago posted by anishaanisha 283 days, 15 hours, 46 minutes ago
Wednesday, August 15, 2012 8:47:35 AM GMT Tuesday, August 14, 2012 4:47:17 PM GMT
This article is part 1 of a series that will provide you with a comprehensive guide on how you can troubleshoot and identify root cause of Java high CPU problems. This guide is also applicable for standalone Java programs but designed to help individuals involved in day to day Java EE enterprise production support. It will also include the list of the most common high CPU problems along with high level resolution strategies. (more)
category: JAVA | clicked: 11 | comment | | source: javaeesupportpatterns.blogspot.in
tags: CPU, Java, troubleshooting
1
Pins

Java Thread deadlock – Case Study ~ Java EE Support Patterns

published 282 days, 23 hours, 45 minutes ago posted by anishaanisha 283 days, 15 hours, 44 minutes ago
Wednesday, August 15, 2012 8:47:35 AM GMT Tuesday, August 14, 2012 4:48:54 PM GMT
This article will describe the complete root cause analysis of a recent Java deadlock problem observed from a Weblogic 11g production system running on the IBM JVM 1.6. This case study will also demonstrate the importance of mastering Thread Dump analysis skills; including for the IBM JVM Thread Dump format. (more)
category: JAVA | clicked: 2 | comment | | source: javaeesupportpatterns.blogspot.in
tags: Deadlock, Java, thread
3
Pins

A better java shell script wrapper

published 284 days, 21 hours, 29 minutes ago posted by jamesjames 286 days, 18 hours, 8 minutes ago
Monday, August 13, 2012 11:04:13 AM GMT Saturday, August 11, 2012 2:25:24 PM GMT
In many Java projects, you often see wrapper shell script to invoke the java command with its custom application parameters. For example, $ANTHOME/bin/ant, $GROOVYHOME/bin/groovy, or even in our TimeMachine Scheduler you will see $TIMEMACHINE_HOME/bin/scheduler.sh. Writing these wrapper script is boring and error prone. Most of the problems come from setting the correct classpath for the application. If you're working on an in-house project for a company, then you can get away with hardcoding paths an... (more)
category: JAVA | clicked: 6 | comment | | source: saltnlight5.blogspot.com
tags: Java, Shell Script, wrapper
2
Pins

A ThreadLocal Memory Leak

published 284 days, 21 hours, 29 minutes ago posted by pankajsharmapankajsharma 286 days, 19 hours, 9 minutes ago
Monday, August 13, 2012 11:04:13 AM GMT Saturday, August 11, 2012 1:24:03 PM GMT
I’ve seen a lot of MemoryLeaks caused by wrong usage patterns of ThreadLocal variables. As I had this problem in one of our own applications yesterday, I want to blog about this case. ThreadLocal variables are used in Java to bind a variable to the current Thread - each thread will have its own, independend instance of that variable. These kind of variables are normally used to hold status informa... (more)
category: JAVA | clicked: 24 | comment | | source: blog.codecentric.de
tags: Memory Leak, threadLocal
Previous 1 2 3 4 5 6 7 8 9 10 ... 45 46 Next