JavaPins - Stories tagged with Java
1
Pins

Java High CPU troubleshooting guide - part 1 - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 14 minutes ago
Saturday, August 11, 2012 9:39:11 AM 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. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: CPU, Java, troubleshooting
1
Pins

HPROF - Memory leak analysis tutorial - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 15 minutes ago
Saturday, August 11, 2012 9:38:10 AM GMT
This article will provide you with a tutorial on how you can analyze a JVM memory leak problem by generating and analyzing a Sun HotSpot JVM HPROF Heap Dump file. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: CPU, Java, troubleshooting
1
Pins

Java Thread CPU analysis on Windows - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 16 minutes ago
Saturday, August 11, 2012 9:37:15 AM GMT
This article will provide you with a tutorial on how you can quickly pinpoint the Java Thread contributors to a high CPU problem on the Windows OS. Windows, like other OS such as Linux, Solaris & AIX allow you to monitor the CPU utilization at the process level but also for individual Thread executing a task within a process. (more)
category: Java EE | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: CPU analysis, Java, thread, Windows
1
Pins

Profile your applications with Java VisualVM - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 41 minutes ago
Saturday, August 11, 2012 9:11:58 AM GMT
When you need to discover what part of an application consume the more CPU or Memory, you must use a profiler to do that. One profiler, packed by default with the Sun JDK is Java VisualVM. This profiler is really simple to use and really powerful. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java, visual VM
1
Pins

Sending emails with Java - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 42 minutes ago
Saturday, August 11, 2012 9:11:06 AM GMT
I start writing this post as a simple “how to send an email” using Java, but later I found I need to briefly explain more things. So, here is this kind of all in one summary about sending emails with Java. Outside the Java SE platform, but included in JavaEE one, the JavaMail package provides a platform to build mail and messaging applications. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: email, Java, send
1
Pins

Twitter API on your Java Application - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 43 minutes ago
Saturday, August 11, 2012 9:10:25 AM GMT
Ever wonder of attaching your tweets to your Java Applications? I searching for the best API out there for this and lucky for me, I found it! (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: API, Java, Twitter
1
Pins

Google ClientLogin Utility in Java - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 44 minutes ago
Saturday, August 11, 2012 9:09:06 AM GMT
Authentication and Authorization for Google APIs is a common feature in today’s applications requiring integration and information exchange with Google services. While most of this Google authentication process is tailored for web applications, it is also available for desktop and installed applications. For Desktop applications Google recommends using an authentication method called ClientLogin. (more)
category: Java EE | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: client login, google, Java
1
Pins

Java RESTful API integration testing - Java Code Geeks

posted by anishaanisha 613 days, 12 hours, 45 minutes ago
Saturday, August 11, 2012 9:08:16 AM GMT
This post will focus on basic principles and mechanics of writing Java integration tests for a RESTful API (with a JSON payload). The goal is to provide an introduction to the technologies and to write some tests for basic correctness. The examples will consume the latest version of the GitHub REST API. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Integration Testing, Java, RESTful
1
Pins

Java GUI Application Shutdown Gotcha - Java Code Geeks

posted by anishaanisha 614 days, 3 hours, 50 minutes ago
Friday, August 10, 2012 6:03:21 PM GMT
In recent times I've had issues with one or two Java GUI application not shutting down when I close them. They seem to stay around as a process, consuming computer resources. Today I got to the bottom of the problem and it's a bit of a nasty gotcha which I wasn't aware of before so I thought I would share it. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: gui, Java, shutdown gotcha
1
Pins

WADL in Java: Gentle introduction - Java Code Geeks

posted by anishaanisha 614 days, 4 hours, 4 minutes ago
Friday, August 10, 2012 5:49:16 PM GMT
WADL (Web Application Description Language) is to REST what WSDL is to SOAP. The mere existence of this language causes a lot of controversy (see: Do we need WADL? and To WADL or not to WADL). I can think of few legitimate use cases for using WADL, but if you are here already, you are probably not seeking for yet another discussion. So let us move forward to the WADL itself. (more)
category: Java EE | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: Java, WADL
1
Pins

Web Services in Ruby, Python and Java - Java Code Geeks

posted by anishaanisha 614 days, 4 hours, 8 minutes ago
Friday, August 10, 2012 5:45:27 PM GMT
Today I’ve had to prepare some examples to show that web services are interoperable. So I’ve created a simple web service in Java using Metro and launched it on Tomcat. (more)
category: Web Service | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java, python, Ruby, Web Service
1
Pins

Java Memcached on Mac OS X - Java Code Geeks

posted by anishaanisha 614 days, 4 hours, 16 minutes ago
Friday, August 10, 2012 5:36:36 PM GMT
In this article I will explain how you can: Install and Configure Memcached on Mac OS XUse Memcached in your Java Application I won't go in too much detail about the benefits of using a distributed cache in your applications, but let's at least provide some use cases for applications that are running in the context of an enterprise portal, eXo Platform in my case - surprising isn't? And I will show this in another post. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java, Mac OS X, memcached
1
Pins

The Perfect Singleton - Java Code Geeks

posted by anishaanisha 614 days, 6 hours, 35 minutes ago
Friday, August 10, 2012 3:17:33 PM GMT
And I’m not talking about proper implementation in threaded environment. But using the most common implementation you can find over internet you can easily create as many singletons as you like. (more)
category: Java EE | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: Java, Singleton
1
Pins

Java Naming Conventions - Java Code Geeks

posted by anishaanisha 614 days, 6 hours, 37 minutes ago
Friday, August 10, 2012 3:15:52 PM GMT
I wanted to write this short post to help certain people who are having a hard time memorizing the Java API classes and Method names. As you know Java is a case sensitive language and to build Java programs you need to use a lot of Built-in API classes and methods. And beginners find it really hard to memorize the method names and Class names exactly without changing the case. (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java, naming convention
1
Pins

Java 7 - Project Coin Decompiled - Java Code Geeks

posted by anishaanisha 614 days, 6 hours, 42 minutes ago
Friday, August 10, 2012 3:11:22 PM GMT
Hi all, it's time to start writing in 2012. As you may have seen already in other blogs, there are a few changes that can make your developer life a lot easier when programming in Java: diamond operator, Strings in Switch, try with resources, multi catch, etc. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Decompiler, Java, project coin
1
Pins

Java pitfalls: Field access in inner classes - Java Code Geeks

posted by anishaanisha 614 days, 6 hours, 44 minutes ago
Friday, August 10, 2012 3:09:00 PM GMT
This is not a “pitfall” per se, but an implementation detail worth knowing. Let’s say I have a inner class with a field. Such a field is visible to the enclosing class, but which one of the following ways is the fastest way to access it? (more)
category: JAVA | clicked: 1 | comment | | source: www.javacodegeeks.com
tags: field access, inner classes, Java, Pitfalls
1
Pins

Java Fork/Join for Parallel Programming - Java Code Geeks

posted by anishaanisha 614 days, 12 hours, 6 minutes ago
Friday, August 10, 2012 9:46:58 AM GMT
The last few years a paradigm shift is taking place in the field of computer processors. For years, processor makers consistently delivered increases in clock rates, so developers enjoyed the fact that their single-threaded software executed faster without any effort from their part. Now, processor makers favor multi-core chip designs, and software has to be written in a multi-threaded or multi-process manner to take full advantage of the hardware. Thus, the only way for software developers to catch up i... (more)
category: JAVA | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Fork, Java, Join, parallel programming
1
Pins

Secure Encryption in Java - Java Code Geeks

posted by anishaanisha 614 days, 12 hours, 36 minutes ago
Friday, August 10, 2012 9:16:44 AM GMT
Last time I wrote about cryptography, I outlined Apache Shiro crypto API and shown how to use its two symmetric ciphers. I also wrote that "You do not need more to encrypt and decrypt sensitive data in your applications." (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Encryption, Java
1
Pins

Introduction to Strong Cryptography - Java Code Geeks

posted by anishaanisha 614 days, 12 hours, 37 minutes ago
Friday, August 10, 2012 9:15:58 AM GMT
One thing that amazes me is that the most developers are not familiar with strong cryptography. In my career, I’ve seen all sort of mistakes that lead to leaked data, guessable passwords, unfortunate disclosures, and worse. The nice thing is, you don’t have to understand the ridiculously complex math behind the algorithms, you only have to know the rules for using them correctly. By the end of this series, my goal is to de-mystify the magic, so you can start using the primitives in your code right away! (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Cryptography, Java
1
Pins

Solving a Producer-Consumer Problem in Java - Java Code Geeks

posted by anishaanisha 614 days, 12 hours, 41 minutes ago
Friday, August 10, 2012 9:11:32 AM GMT
The producer-consumer problem is one of the most frequently encountered problems when we attempt multi threaded programming. While not as challenging as some of the other problems in multi-threaded programming, an incorrect implementation of this problem can create a mess of your application. Produced items will be left unconsumed, starting items will be skipped, consumption depends on whether the production began earlier or later than consumption attempts etc. To add to this you might notice the anomali... (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: Java, producer consumer problem
Previous 1 2 ... 7 8 9 10 11 12 13 14 15 16 ... 42 43 Next