JavaPins - Latest published stories in JAVA
3
Pins

JArchitect Cases Studies

published 3 days, 4 hours, 57 minutes ago posted by DaneDane 36 days, 16 hours, 58 minutes ago
Wednesday, May 22, 2013 9:50:14 AM GMT Thursday, April 18, 2013 9:48:42 PM GMT
These Cases Studies shows the utility of JArchitect to have a deep view of the architecture, design and implementation. (more)
category: JAVA | clicked: 3 | comment | | source: javadepend.wordpress.com
tags: java static analysis tool architecture
2
Pins

My Experiments With Java: Hashcode and Equals Method

published 3 days, 4 hours, 57 minutes ago posted by pallab_rathpallab_rath 38 days, 8 hours, 41 minutes ago
Wednesday, May 22, 2013 9:50:14 AM GMT Wednesday, April 17, 2013 6:05:43 AM GMT
It’s a common topic In  java interviews. And these two methods are always common to any class you write in Java. So let’s know them in and out. boolean equals(Object  obj) and int hashCode() are two methods implemented in Object class with several other methods.  In Java every class implicitly inherit Object class so every class has these methods.  Equals method check the reference is holding same object or not.MyClass obj1 = new MyClass();MyClass obj2 = 0bj1;Then obj1.equals(obj2) returns true.MyClass o... (more)
category: JAVA | clicked: 13 | comment | | source: www.myexperimentswithjava.com
1
Pins

JVM Internals

published 3 days, 4 hours, 57 minutes ago posted by vasantvasant 33 days, 5 hours, 53 minutes ago
Wednesday, May 22, 2013 9:50:14 AM GMT Monday, April 22, 2013 8:54:07 AM GMT
This article explains the internal architecture of the Java Virtual Machine (JVM). The following diagram show the key internal components of a typical JVM that conforms to The Java Virtual Machine Specification Java SE 7 Edition. he components shown on this diagram are each explained below in two sections. First section covers the components that are created for each thread the second section covers the components that are created independently of threads. (more)
category: JAVA | clicked: 1 | comment | | source: blog.jamesdbloom.com
tags: internals, J2ee, JVM
2
Pins

Maintainable Rich Web Applications with AngularJS – Part 2

published 38 days, 1 hour, 8 minutes ago posted by hwilminghwilming 64 days, 18 hours, 22 minutes ago
Wednesday, April 17, 2013 1:39:11 PM GMT Thursday, March 21, 2013 8:24:39 PM GMT
This post explains how to integrate AngularJS into a build process based on Maven and shows how to develop automated unit tests and end-to-end tests for AngularJS applications. (more)
category: JAVA | clicked: 6 | comment | | source: blog.akquinet.de
tags: AngularJS, integartion test, Maven, Testing
2
Pins

Difference between HashSet and TreeSet in Java |JavaTechInfo.Com

published 38 days, 1 hour, 8 minutes ago posted by Mani132Mani132 75 days, 23 hours, 11 minutes ago
Wednesday, April 17, 2013 1:39:11 PM GMT Sunday, March 10, 2013 3:36:20 PM GMT
Difference between HashSet and TreeSet in Java ReplyList, Map, Set HashSet: HashSet is much faster than TreeSet but offers no ordering guarantees like TreeSet.Class offers constant time performance for the basic operations (add, remove, contains and size).It does not guarantee that the order of elements will remain constant over timeIteration performance depends on the initial capacity and the load factor of the HashSet.It's quite safe to accept default load factor but you may want to specify an init... (more)
category: JAVA | clicked: 7 | comment | | source: www.javatechinfo.com
tags: Collection
2
Pins

Tricky Core Java Interview Question and Answers : JavaTechInfo.com

published 74 days, 22 hours, 24 minutes ago posted by Mani132Mani132 87 days, 6 hours, 53 minutes ago
Monday, March 11, 2013 4:23:04 PM GMT Wednesday, February 27, 2013 7:53:48 AM GMT
Tricky Core Java Interview Question and Answers Describe the three OOO principles ? Encapsulation - It is the way the code and data are confined and are in isolation from the outside environment of the system. EXAMPLE: In a car the engine can be thought about as an encapsulated which is controlled by the starter key and the gear. The operation of the engine does not affect the functioning of other parts of car like the headlight and wiper. In JAVA basis of encapsulation i... (more)
category: JAVA | clicked: 16 | comment | | source: www.javatechinfo.com
tags: core java, Java OOPs
1
Pins

JavaTechInfo.Com: Servlet Interview Questions and Answers for Experienced Professionals

published 74 days, 22 hours, 24 minutes ago posted by Mani132Mani132 87 days, 6 hours, 55 minutes ago
Monday, March 11, 2013 4:23:04 PM GMT Wednesday, February 27, 2013 7:52:10 AM GMT
Servlet Interview Questions and Answers for Experienced Professionals What is the Servlet ? Java Servlet is a simple, consistent mechanism for extending the functionality of a web server. Servlets are precompiled Java programs that are executed on the server side. It requires a Servlet container to run in Why Use Servlets? Work well in a Heterogeneous Environments OS and platform neutralWork with all major web servers (IIS, Apache,etc..)2. Well defined Web A... (more)
category: JAVA | clicked: 3 | comment | | source: www.javatechinfo.com
1
Pins

How to Handle SQL Null Values : JavaTechInfo

published 74 days, 22 hours, 24 minutes ago posted by Mani132Mani132 87 days, 6 hours, 59 minutes ago
Monday, March 11, 2013 4:23:04 PM GMT Wednesday, February 27, 2013 7:48:03 AM GMT
How to Handle SQL Null Values ReplyCore Java, JDBC Java primitive types cannot have null values.Do not use a primitive type when your query might return a SQL null.Use ResultSet.wasNull() to determine whether a column has a null value.while(rs.next()) { String name = rs.getString("NAME"); if(rs,wasNull) { // Handle Null values. } } Handling SQL Null Values If your query could return a SQL null, you should use a getXXX() method that returns an object type, not one that returns a Java primitive.Th... (more)
category: JAVA | clicked: 1 | comment | | source: www.javatechinfo.com
1
Pins

JavaTechInfo.Com: Synchronization in Java with Examples

published 74 days, 22 hours, 24 minutes ago posted by Mani132Mani132 87 days, 7 hours, 22 minutes ago
Monday, March 11, 2013 4:23:04 PM GMT Wednesday, February 27, 2013 7:24:48 AM GMT
Synchronization in Java with Examples ReplyCore Java, Synchronization, Threads, Threads Synchronization Synchronization of threads is needed for in order to control threads coordination, mainly in order to prevent simultaneous operations on data. A shared resource may be corrupted if it is accessed simultaneously by multiple threads. For example, two unsynchronized threads accessing the same bank account may cause conflict. For simple synchronization Java provides the synchronized keyword. For m... (more)
category: JAVA | clicked: 1 | comment | | source: www.javatechinfo.com
tags: core java, Synchronization
1
Pins

Binary Search Tree (BST) Algorithm Tutorial | Code 2 Learn

published 74 days, 22 hours, 24 minutes ago posted by http://www.code2learn.com/http://www.code2learn.com/ 96 days, 2 hours ago
Monday, March 11, 2013 4:23:04 PM GMT Monday, February 18, 2013 12:47:12 PM GMT
Posted by farhan khwaja at 5:51 PMRead our previous postEarlier we had a tutorial on Binary Seach Tree Basics, which you can check for refreshing the knowledge about it. Today we will be taking a look on BST algorithm and implementing it using Java. Binary Search Tree is node based binary tree data structure with the following properties: The Left subtree contains the nodes with keys less than the node's key. * The Right subtree contains the nodes with keys greater than the node's key. Both t... (more)
category: JAVA | clicked: 6 | comment | | source: www.code2learn.com
tags: Algorithms, BST, Java
3
Pins

Junit 3 vs Junit 4 Comparison

published 121 days, 22 hours, 41 minutes ago posted by jammyjammy 145 days, 8 hours, 16 minutes ago
Wednesday, January 23, 2013 4:06:18 PM GMT Monday, December 31, 2012 6:30:58 AM GMT
Junit 4 is the next series of Junit 3 and introduced lot of features, it has been compatible with most tools for a while. we compare junit 3 and junit 4 to give the difference from 11 aspects. (more)
category: JAVA | clicked: 32 | comment | | source: www.asjava.com
3
Pins

Minimizing memory Leaks in your java j2ee applications | Techartifact

published 138 days, 7 hours, 56 minutes ago posted by vasantvasant 174 days, 18 hours, 56 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 7:51:16 PM GMT
0Minimizing memory Leaks in your java j2ee applications | TechartifactVinayapplications, J2EE, Java, Leaks, Memory, Minimizing Views: 161 views Enough of ADF.Lets talk about memory leak in java today in our application.How we can reduce it. Java’s memory managmement (i.e Garbage collectionGarbage collection -how it works) prevents lost references and dangling references but it is still possibilities to create memory leaks in other ways. If the application run with memory leaks for long duration ,you wi... (more)
category: JAVA | clicked: 31 | comment | | source: www.techartifact.com
tags: applications, J2ee, Java, Leaks, Memory, Minimizing
4
Pins

Java collection interview questions

published 138 days, 7 hours, 56 minutes ago posted by extremejavaextremejava 177 days, 21 hours, 46 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Wednesday, November 28, 2012 5:01:00 PM GMT
Share on Facebook.Share on Twitter.Share on Google+ Collections as a topic is very vast in Java. There are lot of concepts which can be asked by an interviewer in your Java interview. But by being prepared to answer these questions, one can easily answer the frequently asked questions. My suggestion is to read the FAQ as well do some programming exercises on Java collections. Also it is a good thing to play with the programs so as to see what happens if you change some part of the code. In this article,... (more)
category: JAVA | clicked: 62 | comment | | source: www.javaexperience.com
1
Pins

Difference between HashSet and TreeSet in Java | Techartifact | Techartifact

published 138 days, 7 hours, 56 minutes ago posted by vasantvasant 174 days, 18 hours, 54 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 7:52:52 PM GMT
0Difference between HashSet and TreeSet in Java | TechartifactVinaybetween, Difference, HashSet, Java, Techartifact, TreeSet Views: 28 views HashSet: - Class offers constant time performance for the basic operations (add, remove, contains and size). It does not guarantee that the order of elements will remain constant over time Iteration performance depends on the initial capacity and the load factor of the HashSet. It’s quite safe to accept default load factor but you may want to specify a... (more)
category: JAVA | clicked: 13 | comment | | source: www.techartifact.com
tags: between, Difference, HashSet, Java, Techartifact, TreeSet
2
Pins

Java 8 - Closures, Lambda Expressions (Demystified)

published 138 days, 7 hours, 56 minutes ago posted by FrankAgileFrankAgile 175 days, 5 hours, 35 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 9:11:30 AM GMT
First part of my Java 8 Blog series starts with a hands-on demystification of Lambda and Closures. (more)
category: JAVA | clicked: 36 | comment | | source: frankhinkel.blogspot.de
2
Pins

My Experiments With Java: What is the Big Deal about Big Data

published 138 days, 7 hours, 56 minutes ago posted by pallab_rathpallab_rath 177 days, 10 hours, 24 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Thursday, November 29, 2012 4:22:33 AM GMT
Like every sector in our computer world we always have some new trends.  In fact the dynamics of changing trend in Computer industry is very evident. Few years back all want to adopt tablet and different form of post pc devices. And recent time Cloud was the big word. All most all companies have launched lots of cloud specific services or platform. Every blogger including me has written about cloud. And now the recent buzz is Big Data, Hadoop, Data Analytics etc..  There is a say Pen is mightier than Sw... (more)
category: JAVA | clicked: 16 | comment | | source: www.myexperimentswithjava.com
2
Pins

30 Important Java Collections API Interview Q & A's - Java Stuff

published 138 days, 7 hours, 56 minutes ago posted by javastuffjavastuff 178 days, 1 hour, 21 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Wednesday, November 28, 2012 1:26:10 PM GMT
Explain about Java Collections API?2. What is an Iterator interface?3. What is listiterator in java?4. What is the difference between Iterator and ListIterator?5. what is Enumeration in java?6. What is difference between Iterator and Enumeration?7. Explain About Collections class in java?8. What is the Set interface?9. What is hashset in java?10. What is TreeSet in java?11. Difference between HashSet and TreeSet?12. Can a null element added to a Treeset or HashSet?13. What is the List interface?14. Wh... (more)
category: JAVA | clicked: 33 | comment | | source: www.javastuff.in
1
Pins

Java Still Not Safe, Security Experts Say - Java Stuff

published 138 days, 7 hours, 56 minutes ago posted by javastuffjavastuff 178 days, 1 hour, 26 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Wednesday, November 28, 2012 1:20:49 PM GMT
Last week, Oracle released emergency updates to fix zero-day vulnerabilities in Java 7 and Java 6. But in the case of the Java 7 fix, the new version allows an existing flaw — spotted by security researchers and disclosed to Oracle earlier this year —-to be exploited to bypass the Java sandbox. In other words, while fixing some flaws, Oracle opened the door to another one.    In light of that situation, multiple security experts said that businesses should continue to temporarily disable all Java ... (more)
category: JAVA | clicked: 10 | comment | | source: www.javastuff.in
2
Pins

Play! Framework 2 (2.1) Scala with Slick made easy (With example) | playframework | Scoop.it

published 148 days, 4 hours, 24 minutes ago posted by opensasopensas 179 days, 21 hours, 59 minutes ago
Friday, December 28, 2012 10:22:57 AM GMT Monday, November 26, 2012 4:47:25 PM GMT
Today I’ve seen some videos about Slick and Play! Framework 2.1 and I got excited, so I thought, let’s code an app with Slick. What did I realize? It wasn’t that simple. Play! isn’t yet thought to work with Slick very well. (more)
category: JAVA | clicked: 30 | comment | | source: www.scoop.it
tags: Play 2.0, Play framework 2, Scala, slick, typesafe
1
Pins

Code Better or Code Less ? - Java Stuff

published 162 days, 2 hours, 44 minutes ago posted by javastuffjavastuff 178 days, 1 hour, 28 minutes ago
Friday, December 14, 2012 12:02:56 PM GMT Wednesday, November 28, 2012 1:18:29 PM GMT
Better codeOne perspective is the one of a developer. The developer in almost every medium-to-big organization, and in quite a lot of small ones too, is pretty much disconnected with product management/product ownership part of a project. It means that they have very little-to-no knowledge what actually should be built.Of course being a developer I can, and should, share my concerns about usefulness of building specific features but it’s unlikely I have enough information to judge such situations ... (more)
category: JAVA | clicked: 16 | comment | | source: www.javastuff.in
Previous 1 2 3 4 5 6 7 8 9 10 ... 45 46 Next