JavaPins - Latest published stories
2
Pins

Difference between String and String Buffer and in which situations we use them

published 787 days, 23 hours, 27 minutes ago posted by chrischris 793 days, 17 hours, 23 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, February 19, 2012 6:27:21 PM GMT
String is immutable but StringBuffer is mutable. I think it will be more useful while passing into a method. StringBuffer can be used as reference object. If you change in method's logic it will be reflected in StringBuffer which is actually sent as parameter in method since it is called by reference. String is immutable where new object is created when it is sent as parameter. There wont be reference with String object while you pass in method. Just String is sent as value in new String object. Eg: Stri... (more)
category: JAVA | clicked: 2 | comment | | source: www.javabeat.net
tags: Basics, Foundation, immutable, Java, String, String buffer
2
Pins

PL/SQL Tutorial- PL/SQL Triggers

published 787 days, 23 hours, 27 minutes ago posted by vasantvasant 793 days, 18 hours, 45 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, February 19, 2012 5:04:56 PM GMT
A trigger is a pl/sql block structure which is fired when a DML statements like Insert, Delete, Update is executed on a database table. A trigger is triggered automatically when an associated DML statement is executed. Syntax of Triggers The Syntax for creating a trigger is: CREATE [OR REPLACE ] TRIGGER trigger_name {BEFORE | AFTER | INSTEAD OF } {INSERT [OR] | UPDATE [OR] | DELETE} [OF col_name] ON table_name [REFERENCING OLD AS o NEW AS n] [FOR EACH ROW]... (more)
category: SQL | clicked: 0 | comment | | source: plsql-tutorial.com
tags: Pl/Sql, trigger
2
Pins

PL/SQL Tutorial - PL/SQL Cursors.

published 787 days, 23 hours, 27 minutes ago posted by vasantvasant 793 days, 18 hours, 48 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, February 19, 2012 5:02:03 PM GMT
What are Cursors? A cursor is a temporary work area created in the system memory when a SQL statement is executed. A cursor contains information on a select statement and the rows of data accessed by it. This temporary work area is used to store the data retrieved from the database, and manipulate this data. A cursor can hold more than one row, but can process only one row at a time. The set of rows the cursor holds is called the active set. There are two types of cursors in PL/SQL: Implicit cursors: ... (more)
category: SQL | clicked: 0 | comment | | source: plsql-tutorial.com
tags: cursors, Pl/Sql
2
Pins

How to Analyze Java Thread Dumps | CUBRID Blog

published 787 days, 23 hours, 27 minutes ago posted by karlenekarlene 793 days, 19 hours, 8 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, February 19, 2012 4:41:37 PM GMT
When there is an obstacle, or when a Java based Web application is running much slower than expected, we need to use thread dumps. If thread dumps feel like very complicated to you, this article may help you very much. Here I will explain what threads are in Java, their types, how they are created, how to manage them, how you can dump threads from a running application, and finally how you can analyze them and determine the bottleneck or blocking threads. This article is a result of long experience in Ja... (more)
category: JAVA | clicked: 5 | comment | | source: www.cubrid.org
tags: Dumps, Java, thread, Threads
2
Pins

Web Wizard Component, Part 2: The View

published 787 days, 23 hours, 27 minutes ago posted by karlenekarlene 815 days, 1 hour, 24 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, January 29, 2012 10:26:23 AM GMT
The wizard UI adheres to following design principles: The MVC architecture emphasizes the isolation of the presentation from underlying data. Input/output separation ensures that a view is independent from any previous action. Synchronized views guarantee that presentation always matches the model. Stateful conversation retains the values of transient properties between requests. (more)
category: Struts | clicked: 2 | comment | | source: today.java.net
tags: View, Web Component, Wizard
2
Pins

Web Wizard Component, Part 1: The Model

published 787 days, 23 hours, 27 minutes ago posted by karlenekarlene 815 days, 1 hour, 25 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Sunday, January 29, 2012 10:25:21 AM GMT
Web applications are often criticized for having somewhat simplistic user interfaces when compared to regular desktop programs. Elements such as tree views, tabbed notebooks, or wizards are a rare treat. Now, a decade later after HTML 2.0 introduced the tag, we are stuck with the same assortment of basic control elements. (more)
category: Struts | clicked: 1 | comment | | source: today.java.net
tags: Component, Model, Web Wizard
3
Pins

Code 2 Learn: Counting Sort Algorithm with Example

published 787 days, 23 hours, 27 minutes ago posted by code2learncode2learn 825 days, 23 hours, 9 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Wednesday, January 18, 2012 12:41:10 PM GMT
After a long interval of time I am writing a post on ALGORITHMS. After writing posts on Heap Sort, Merge Sort and Insertion Sort, I decided to write on Counting Sort. Counting sort is an algorithm for sorting a collection of objects according to keys that are small integers; that is, it is an integer sorting algorithm. It is a linear time sorting algorithm used to sort items when they belong to a fixed and finite set.  The algorithm proceeds by defining an ordering relation between the items from... (more)
category: JAVA | clicked: 14 | comment | | source: www.code2learn.com
tags: Algorithms, Java
3
Pins

Class Loading Concept In Java

published 787 days, 23 hours, 27 minutes ago posted by BhupendraBhupendra 790 days, 22 hours, 45 minutes ago
Saturday, February 25, 2012 12:22:26 PM GMT Wednesday, February 22, 2012 1:04:46 PM GMT
Class Loading Concept (more)
category: JAVA | clicked: 10 | comment | | source: onjava.com
2
Pins

Internationalization in java

published 788 days, 3 hours, 18 minutes ago posted by galbertogalberto 788 days, 21 hours, 8 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Friday, February 24, 2012 2:42:02 PM GMT
A browser with JavaScript enabled is required for this page to operate properly. Download the JDK Search the Tutorials Hide the TOCTrail: Internationalization Lesson: Introduction IntroductionA Quick ExampleBefore InternationalizationAfter InternationalizationRunning the Sample ProgramInternationalizing the Sample ProgramChecklistHome Page > Internationalization > ... (more)
category: JAVA | clicked: 11 | comment | | source: docs.oracle.com
4
Pins

Producer Consumer Design Pattern with Blocking Queue Example in Java

published 788 days, 3 hours, 18 minutes ago posted by javabuddyjavabuddy 791 days, 9 hours, 10 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Wednesday, February 22, 2012 2:40:18 AM GMT
Quick guide on classic multi-threading Producer Consumer pattern which offers several benefits in terms of better code organization, independent development of producer and consumer and less coupling between them. with introduction of BlockingQueue in java its now become even easier to implement this pattern. (more)
category: JAVA | clicked: 12 | comment | | source: javarevisited.blogspot.com
tags: Design Pattern, Java, problem, programming, thread
1
Pins

Setting Up Weblogic Server in Eclipse ~ Java Stuff

published 788 days, 3 hours, 18 minutes ago posted by javastuffjavastuff 788 days, 17 hours, 29 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Friday, February 24, 2012 6:20:42 PM GMT
Change Eclipse memory settings by updating the properties of eclipse.ini file -Xmx768m -Xms256m.Make sure this configuration ( Dsun.lang.ClassLoader.allowArraySyntax=true ) is there, if not add it and save the file.Make sure you have configured your Weblogic server in "Development" mode. If node done, please change the configuration.Start EclipseGo to Window -> Preferences -> Server -> Installed Runtimes -> AddIn the dialog "New Server Runtime", there is a link "Download additional server adapters". Clic... (more)
category: JAVA | clicked: 2 | comment | | source: www.javastuff.in
tags: Server Configurations
1
Pins

How to HotSwap Java Code into JVM (Redefinition Example)

published 788 days, 3 hours, 18 minutes ago posted by karlenekarlene 788 days, 19 hours, 36 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Friday, February 24, 2012 4:14:19 PM GMT
The development is kind of process with frequently writing code, testing and fixing bugs, its very common that we want the modified java classes to be effective immediately without restarting the application. In this tutorial we’ll review how java classes can be reloaded without dynamic class loaders, and show you example step by step that reloads changes to JVM on-the-fly without downtime. We provide an efficient hotswap “Java code” solution even if are now working on very complicated project (more)
category: JAVA | clicked: 16 | comment | | source: www.asjava.com
tags: HotSwap, Java, JVM, Redefinition
1
Pins

Websockets in Play 2.0 | Javalobby

published 788 days, 3 hours, 18 minutes ago posted by karlenekarlene 788 days, 19 hours, 33 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Friday, February 24, 2012 4:17:08 PM GMT
The HTML5 Microzone is presented by DZone and Microsoft to bring you the most interesting and relevant content on emerging web standards. Experience all that the HTML5 Microzone has to offer on our homepage and check out the cutting edge web development tutorials on Script Junkie, Build My Pinned Site, and the HTML5 DevCenter. The source code for this guide can be found in the github repository. Websockets allow full-duplex communication over a TCP socket, normally between a browser and a server-side ... (more)
category: JAVA | clicked: 2 | comment | | source: java.dzone.com
tags: Play, Play 2.0, play framework, Websockets
1
Pins

Major and Minor JavaScript Pitfalls and ECMAScript 6 | Web Builder Zone

published 788 days, 3 hours, 18 minutes ago posted by karlenekarlene 788 days, 19 hours, 30 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Friday, February 24, 2012 4:19:37 PM GMT
JavaScript has many pitfalls. This post partitions them into two categories: The ones that you learn and live with and the ones that really are bad. We’ll also look at what will be fixed in ECMAScript 6. Warning: If you are new to JavaScript then don’t let this post be your introduction to it. Consult other material first. Major JavaScript pitfalls There are two pitfalls in JavaScript that frequently trip up even experienced programmers: (more)
category: Foundation | clicked: 0 | comment | | source: css.dzone.com
tags: ECMAScript 6, JavaScript, Pitfalls
4
Pins

Secure JSON Services with Play Scala and SecureSocial, by Matt Raible « Having fun with Play framework!

published 788 days, 3 hours, 18 minutes ago posted by opensasopensas 792 days, 16 hours, 7 minutes ago
Saturday, February 25, 2012 8:31:34 AM GMT Monday, February 20, 2012 7:42:32 PM GMT
Building a JSON rest server with Play Framework and securing it with SecureSocial module. (more)
category: JAVA | clicked: 19 | comment | | source: playlatam.wordpress.com
tags: JSON, play framework, Scala, SecureSocial, web development
4
Pins

What’s New in JDK7 ~ Java Stuff

published 788 days, 18 hours, 7 minutes ago posted by javastuffjavastuff 791 days, 16 hours, 23 minutes ago
Friday, February 24, 2012 5:42:33 PM GMT Tuesday, February 21, 2012 7:26:43 PM GMT
SwingThe JLayer class has been added, which is a flexible and powerful decorator for Swing components; see How to Decorate Components with JLayer.The Nimbus Look and Feel has been moved from the com.sun.java.swing package to thejavax.swing package; see the javax.swing.plaf.nimbus package.Mixing Heavyweight and Lightweight Components is easier to accomplish.Windows with transparency and non-rectangular shape are supported; see How to Create Translucent and Shaped WindowsAn HSV tab has been added to the JC... (more)
category: JAVA | clicked: 7 | comment | | source: www.javastuff.in
tags: Advantages in Java 7
3
Pins

How to Create an AJAX object for various browsers ~ Java Stuff

published 788 days, 18 hours, 7 minutes ago posted by javastuffjavastuff 791 days, 4 hours, 32 minutes ago
Friday, February 24, 2012 5:42:33 PM GMT Wednesday, February 22, 2012 7:18:00 AM GMT
Posted in: AJAX,Collections API,Core Java,J2EE Design Patterns,JAVA/J2EE,JBoss Server DeploymentEmail ThisBlogThis!Share to TwitterShare to Facebook (more)
category: Ajax | clicked: 2 | comment | | source: www.javastuff.in
tags: Ajax
2
Pins

Importance of JVM ~ Java Stuff

published 788 days, 18 hours, 7 minutes ago posted by javastuffjavastuff 791 days, 5 hours, 26 minutes ago
Friday, February 24, 2012 5:42:33 PM GMT Wednesday, February 22, 2012 6:24:24 AM GMT
Java is independent only for one reason: Only depends on the Java Virtual Machine (JVM),code is compiled to bytecode, which is interpreted by the resident JVM,JIT (just in time) compilers attempt to increase speed.Java Virtual Machine (JVM) Posted in: JVMEmail ThisBlogThis!Share to TwitterShare to Facebook (more)
category: JAVA | clicked: 4 | comment | | source: www.javastuff.in
tags: JVM
3
Pins

How SubString method works in Java

published 789 days, 5 hours, 19 minutes ago posted by javabuddyjavabuddy 806 days, 22 hours, 15 minutes ago
Friday, February 24, 2012 6:30:31 AM GMT Monday, February 06, 2012 1:34:28 PM GMT
Recently one of my friend was drilled on substring method in Java during a java interview, he was using substring method from long time and of course all of us has used this but what surprises him was interviewer's obsession on substring and deep dive till the implementation level Most of us rather just use Substring(..) and than forgot and don't go into code and see how... (more)
category: JAVA | clicked: 8 | comment | | source: javarevisited.blogspot.com
tags: interview, Java, String, Tutorial
3
Pins

StringBuffer versus String - JavaWorld

published 789 days, 5 hours, 19 minutes ago posted by chrischris 793 days, 17 hours, 22 minutes ago
Friday, February 24, 2012 6:30:31 AM GMT Sunday, February 19, 2012 6:28:15 PM GMT
Java provides the StringBuffer and String classes, and the String class is used to manipulate character strings that cannot be changed. Simply stated, objects of type String are read only and immutable. The StringBuffer class is used to represent characters that can be modified. The significant performance difference between these two classes is that StringBuffer is faster than String when performing simple concatenations. In String manipulation code, character strings are routinely concatenated. Using ... (more)
category: JAVA | clicked: 4 | comment | | source: www.javaworld.com
tags: Basics, Foundation, immutable, Java, String, String buffer
Previous 1 2 ... 86 87 88 89 90 91 92 93 94 95 ... 146 147 Next