JavaPins - Stories tagged with tips
1
Pins

Top 10 Java Debugging Tips with Eclipse

published 540 days, 8 hours, 22 minutes ago posted by anishaanisha 579 days, 8 hours, 25 minutes ago
Friday, October 26, 2012 7:00:36 PM GMT Monday, September 17, 2012 6:57:10 PM GMT
In this tutorial we will see about debugging java applications using Eclipse. Debugging helps us to identify and fix defects in the application. We will focus on run-time issues and not compile time errors. There are command line debuggers like gdb available. In this tutorial we will focus on GUI based debugger and we take our favourite IDE Eclipse to run through the tutorial. (more)
category: JAVA | clicked: 36 | comment | | source: javapapers.com
tags: Debugging, Java, tips
1
Pins

Gal Levinsky: DB connection pool - production tips

posted by anishaanisha 613 days, 7 hours, 35 minutes ago
Tuesday, August 14, 2012 7:47:46 PM GMT
Every developer knows that DB IO is the bottle neck of most web application. It is also a common best practice to use an open connection to the DB and manage it in a pool, since opening a DB connection is costly operation. (more)
category: Java EE | clicked: 0 | comment | | source: gal-levinsky.blogspot.gr
tags: DB connection pool, tips
1
Pins

Inspired by Actual Events: NetBeans Usability Tips

posted by anishaanisha 615 days, 8 hours, 5 minutes ago
Sunday, August 12, 2012 7:17:32 PM GMT
Java IDEs have come a long way since the days of JBuilder (though JBuilder seemed like a welcome advance at the time). Today's Java IDEs (such as NetBeans, Eclipse, IntelliJ IDEA, and JDeveloper) are very advanced tools that most Java developers embrace for writing significant Java code. As advanced as these IDEs are, they all still have their own quirks and each seems better and easier to use when one understands some key tips (or "tricks") to using that IDE more efficiently. In this post, I look at som... (more)
category: JAVA | clicked: 0 | comment | | source: marxsoftware.blogspot.in
tags: NetBeans, tips
1
Pins

5 Easy Java Optimization Tips

published 620 days, 16 hours, 30 minutes ago posted by pankajsharmapankajsharma 627 days, 14 hours, 25 minutes ago
Tuesday, August 07, 2012 10:52:41 AM GMT Tuesday, July 31, 2012 12:57:43 PM GMT
When writing Java code it can be easy to make simple mistakes that seem harmless on the surface but, as our applications grow larger, they can show themselves to be slow, resource intensive processes that could use a tune-up. Luckily there are some easy ways to optimize your Java code that you can begin using today. Here, we will introduce you to five of them.1. Avoid unnecessary casting Casting, for the new developer, is a way of converting between reference data types. ... (more)
category: JAVA | clicked: 27 | comment | | source: www.learncomputer.com
tags: Java, optimization, tips
1
Pins

Random Thoughts » Basic JQuery Tips

published 638 days, 17 hours, 53 minutes ago posted by vinaykumarvinaykumar 640 days, 15 hours, 52 minutes ago
Friday, July 20, 2012 9:29:38 AM GMT Wednesday, July 18, 2012 11:30:23 AM GMT
This is more for my reference and hopefully helps others working with JQuery. Getting and Setting the innerHTML of an element view plaincopy to clipboardprint? var content = $("#id").html(); $("#id").html("Some HTML"); Getting and Setting the text (with out any HTML) of an element (more)
category: Ajax | clicked: 1 | comment | | source: blog.inflinx.com
tags: jquery, tips
2
Pins

Spring Webflow – Tips « Vishwanath Krishnamurthi's blog

published 637 days, 13 hours, 44 minutes ago posted by vinaykumarvinaykumar 640 days, 19 hours, 8 minutes ago
Saturday, July 21, 2012 1:38:24 PM GMT Wednesday, July 18, 2012 8:14:48 AM GMT
Just a random list of tips – handy if you are using SWF Passing a String in an evaluate expression: To pass a string literal, enclose the string in single quotes ‘ ‘ as in Set a boolean  Likewise to set a boolean value, Flush flow changes without restarting the server While developing, do set, development=true as such and save yourself lots of time The RequestControlContext object  On the rare cases where you need a requestControlContext in your bean, you can get hold of... (more)
category: Spring | clicked: 9 | comment | | source: vishwanathk.wordpress.com
tags: Spring Web Flow, tips
3
Pins

20 Top jQuery tips & tricks for jQuery programmers. jQuery Tips Tricks

published 671 days, 10 hours, 14 minutes ago posted by nehaguptanehagupta 672 days, 14 hours, 51 minutes ago
Sunday, June 17, 2012 5:08:43 PM GMT Saturday, June 16, 2012 12:31:25 PM GMT
Following are few very useful jQuery Tips and Tricks for all jQuery developers. I am sharing these as I think they will be very useful to you. Disclaimer: I have not written all of the below code but have collected from various sources from Internet.1. Optimize performance of complex selectors Query a subset of the DOM when using complex selectors drastically improves performance: var subset = $(""); $("input[value^='']", subset); 2. Set Context and improve the performance On the core jQue... (more)
category: Ajax | clicked: 6 | comment | | source: viralpatel.net
tags: jquery, Programmers, tips, Top, Tricks
2
Pins

Eclipse Shortcuts For Beginners

published 678 days, 12 hours, 59 minutes ago posted by sweetxnehasweetxneha 680 days, 22 hours, 5 minutes ago
Sunday, June 10, 2012 2:24:01 PM GMT Friday, June 08, 2012 5:17:43 AM GMT
Editors are an integral part of a programmer’s life. If you have good proficiency in using an editor thats a great advantage. It comes very handy to debug. Keyboard shortcuts are very important for comfortable and quick editing. This blog contains the shortcuts for -: 1)File Navigation – Eclipse Shortcuts 2)Java Editing – Eclipse Shortcuts 3)General Editing – Eclipse Shortcuts 4)Debug, Run – Eclipse Shortcuts 5)Search – Eclipse Shortcuts........... (more)
category: JAVA | clicked: 2 | comment | | source: javapapers.com
tags: Beginners, Eclipse, Eclipse IDE Shortcuts, IDE, Java, Shortcuts, tips
2
Pins

How to register SSL certificates in your JVM?

posted by sweetxnehasweetxneha 680 days, 22 hours, 47 minutes ago
Friday, June 08, 2012 4:35:11 AM GMT
You wrote a Java program which needs to access to a external resource through SSL (such as LDAPS or HTTPS)? Okay, this post is for you. The first thing you have to know is that the first time you established a secured connection to something, you (normally) have to accept the certificate used to encrypt the dialog. In apps with interaction with end users (such as a web browser), the user often see a popup which asks him to trust the certificate. But, if the secured connection is establised behin... (more)
category: JAVA | clicked: 1 | comment | | source: javacolors.blogspot.in
tags: certificates, Java, JV, JVM, LDAPS, register, register SSL certificates, SSL, tips
1
Pins

JDeveloper/ADF 11g Technical Preview Tips and Tricks

published 719 days, 16 hours, 35 minutes ago posted by pankajsharmapankajsharma 720 days, 6 hours, 48 minutes ago
Monday, April 30, 2012 10:47:45 AM GMT Sunday, April 29, 2012 8:34:45 PM GMT
Dive into Oracle ADF Tips and tricks from Steve Muench on Oracle ADF Framework and JDeveloper IDE JDeveloper/ADF 11g Technical Preview Tips and Tricks If you want your page that uses an (more)
category: Ajax | clicked: 2 | comment | | source: radio-weblogs.com
tags: ADF, tips, Tricks
1
Pins

Play framework 2 quicktip: interactively play with your application from the scala console « Having fun with Play framework!

published 719 days, 16 hours, 35 minutes ago posted by ankyanky 740 days, 16 hours, 11 minutes ago
Monday, April 30, 2012 10:47:45 AM GMT Monday, April 09, 2012 11:11:36 AM GMT
Short version for impatients: pathtoyourplay2app$ play console scala> new play.core.StaticApplication(new java.io.File(".")) And don’t forget that the tab key is your friend! When I first started to play with Scala, I was amazed by the Scala interactive interpreter (also known as REPL, read-evaluate-print-loop). It was one of those things that you never expected to find in a statically typed, compiled language like java or scala. What would you say if we could have it for our play applicat... (more)
category: JAVA | clicked: 13 | comment | | source: playlatam.wordpress.com
tags: Play framework 2, Quick, tips
1
Pins

10 Useful jQuery Web Form Validation Techniques | Web Insight Lab

published 756 days, 13 hours, 1 minute ago posted by ankyanky 769 days, 17 hours, 48 minutes ago
Saturday, March 24, 2012 2:21:19 PM GMT Sunday, March 11, 2012 9:34:19 AM GMT
jQuery is the popular Javascript library, using this technique designers can make web pages more impressive and effective. Some of the most popular programming language support this as PHP, ASP and HTML also. jQuery works with Ajax perfectly and lets you develop Ajax templates easily also. Today jQuery is one of the most used technique by developers to make websites more attractive and alive with their cool effects. jQuery validation is challenging task for developers. There are some highly useful vali... (more)
category: Ajax | clicked: 15 | comment | | source: webinsightlab.com
tags: Ajax, Form, jquery, techniques, tips, validation
1
Pins

Java debugging tutorial - 10 tips on debugging in java with example

published 756 days, 13 hours, 1 minute ago posted by ankyanky 769 days, 17 hours, 55 minutes ago
Saturday, March 24, 2012 2:21:19 PM GMT Sunday, March 11, 2012 9:27:35 AM GMT
How to debug java program in Eclipse Debugging is a must have skill for any java developer. Having ability to debug java program enables to find you any subtle bug which is not visible during code review or comes when a particular condition offer, This becomes even more important if you are working in high frequency trading or electronic trading system project where time to fix a bug is very less and bug usually comes on production environment and doesn't appear in your Windows XP machine. in my experien... (more)
category: JAVA | clicked: 13 | comment | | source: javarevisited.blogspot.in
tags: Debugging, Java, tips, Tutorials
1
Pins

Effective Scala

published 796 days, 23 hours, 49 minutes ago posted by jamesjames 800 days, 20 hours, 12 minutes ago
Monday, February 13, 2012 3:33:26 AM GMT Thursday, February 09, 2012 7:10:54 AM GMT
Scala is one of the main application programming languages used at Twitter. Much of our infrastructure is written in Scala and we have several large libraries supporting our use. While highly effective, Scala is also a large language, and our experiences have taught us to practice great care in its application. What are its pitfalls? Which features do we embrace, which do we eschew? When do we employ “purely functional style”, and when do we avoid it? In other words: what have we found to be an effective... (more)
category: Open Source | clicked: 4 | comment | | source: twitter.github.com
tags: Best practices, Scala, tips
1
Pins

Java Tips - How to apply Regular Expressions on the contents of a file

published 800 days, 13 hours, 50 minutes ago posted by chrischris 801 days, 9 hours, 15 minutes ago
Thursday, February 09, 2012 1:32:55 PM GMT Wednesday, February 08, 2012 6:07:20 PM GMT
This Java tip illustrates a method of applying Regular Expressions on the contents of a file. The matching routines in java.util.regex require that the input be a CharSequence object. This tip implements a method that efficiently returns the contents of a file in a CharSequence object. // Converts the contents of a file into a CharSequence public CharSequence fromFile(String filename) throws IOException { FileInputStream input = new FileInputStream(filename); FileChannel channel =... (more)
category: JAVA | clicked: 3 | comment | | source: www.java-tips.org
tags: file, Java, Regular expression, Regular Expressions, tips
1
Pins

Java Tips - An example of Regular Expression search and replace program

published 800 days, 13 hours, 50 minutes ago posted by karlenekarlene 801 days, 9 hours, 25 minutes ago
Thursday, February 09, 2012 1:32:55 PM GMT Wednesday, February 08, 2012 5:57:20 PM GMT
This Java tip illustrates an example of Quintessential Regular Expression search and replace program. This program finds all matches to a regular expression pattern and replaces them with another string. import java.util.regex.*; public class BasicReplace { public static void main(String[] args) { CharSequence inputStr = "p q r p q r "; (more)
category: JAVA | clicked: 1 | comment | | source: www.java-tips.org
tags: Java, Program, Regular expression, Regular Expressions, Replace, Search, tips
2
Pins

Java Tips - How to use Logger

published 771 days, 19 hours, 53 minutes ago posted by karlenekarlene 801 days, 9 hours, 30 minutes ago
Friday, March 09, 2012 7:29:08 AM GMT Wednesday, February 08, 2012 5:52:48 PM GMT
This tip shows how to use Logger in any java application. Logger needs to configure Formatter and Handler. There are many types of handlers and formatters present. In this example FileHandler is used to store all the log messages in a log file. And Simple formatter is used to format the log messages in human readable form. (more)
category: JAVA | clicked: 19 | comment | | source: www.java-tips.org
tags: Java, Logging, Logging framework, tips, Util
1
Pins

Hiren's Technical Blog: Small Tips for ExtJs Programming

published 800 days, 13 hours, 50 minutes ago posted by karlenekarlene 803 days, 11 hours, 35 minutes ago
Thursday, February 09, 2012 1:32:55 PM GMT Monday, February 06, 2012 3:47:05 PM GMT
Hello, Here I am sharing some tips that would be useful for you while working with ExtJs. These tips are about issues I faced while working on ExtJs projects. 1) Get-Set ExtJs Panel HTML I don't know how many of you faced this issue. While working on one project, requirement was to set panel HTML dynamically. If you check Panel class there is not any method like getHtml() setHtml(). Following is the solution for it. var dynamicHtml = ''; myPanelObj.body.dom.innerHTML = dynamicHtml; ... (more)
category: Open Source | clicked: 4 | comment | | source: davehiren.blogspot.in
tags: Ext JS, Ext JS 4, extjs, ExtJS 4, tips, Tricks
5
Pins

24 ways: Your jQuery: Now With 67% Less Suck

published 846 days, 12 hours, 44 minutes ago posted by ankyanky 851 days, 11 hours, 34 minutes ago
Sunday, December 25, 2011 2:38:30 PM GMT Tuesday, December 20, 2011 3:48:39 PM GMT
Fun fact: more websites are now using jQuery than Flash. jQuery is an amazing tool that’s made JavaScript accessible to developers and designers of all levels of experience. However, as Spiderman taught us, “with great power comes great responsibility.” The unfortunate downside to jQuery is that while it makes it easy to write JavaScript, it makes it easy to write really really f*&#ing bad JavaScript. Scripts that slow down page loa... (more)
category: Open Source | clicked: 4 | comment | | source: 24ways.org
tags: jquery, tips
4
Pins

How to Create a Pure CSS3 Slideshow | Web Builder Zone

published 846 days, 9 hours, 11 minutes ago posted by ankyanky 851 days, 11 hours, 39 minutes ago
Sunday, December 25, 2011 6:11:23 PM GMT Tuesday, December 20, 2011 3:43:37 PM GMT
Today we will develop a cool CSS3 slideshow (without any JavaScript). The slideshow will contain left and right navigation buttons, images, and a tracker bar. We'll use left/right buttons or the extra tracker bar to navigate through the images. (more)
category: Foundation | clicked: 5 | comment | | source: css.dzone.com
tags: CSS, tips
Previous 1 2 Next