JavaPins - Latest published stories
3
Pins

JArchitect Cases Studies

published 5 days, 10 hours, 4 minutes ago posted by DaneDane 31 days, 6 hours, 56 minutes ago
Tuesday, May 14, 2013 6:40:47 PM 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 5 days, 10 hours, 4 minutes ago posted by pallab_rathpallab_rath 32 days, 22 hours, 39 minutes ago
Tuesday, May 14, 2013 6:40:47 PM 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: 12 | comment | | source: www.myexperimentswithjava.com
1
Pins

Remember Design Patterns by Images » Searchdaily | Searchdaily

published 5 days, 10 hours, 4 minutes ago posted by vasantvasant 24 days, 5 hours, 58 minutes ago
Tuesday, May 14, 2013 6:40:47 PM GMT Thursday, April 25, 2013 10:46:08 PM GMT
Behavior Pattern, Creational Pattern, DesignPattern, Java, Structural Pattern Add commentsSep082011  Go around and look for some method to remember Design Pattern, I saw a site summarize each Design Pattern with a line like this: Abstract Factory: Creates an instance of several families of classes … Prototype: A fully initialized instance to be copied or cloned Singleton: A class in which only a single instance can exist But how can you remember it all? I cannot imagine that I can recall “Abstract Fac... (more)
category: Architecture | clicked: 2 | comment | | source: searchdaily.net
tags: Behavior Pattern, Creational Pattern, DesignPattern, Java, Structural Pattern
1
Pins

High Performance Mobile Websites

published 5 days, 10 hours, 4 minutes ago posted by vasantvasant 27 days, 19 hours, 49 minutes ago
Tuesday, May 14, 2013 6:40:47 PM GMT Monday, April 22, 2013 8:55:24 AM GMT
Last night was the first meeting of the meetup group for Mobile Web. The presentation was on High Performance Mobile Websites. It was great so see so many people turn up to our very first meeting. I found it personally a great opportunity to swap stories with people. I particularly loved hearing about what people had done on other projects and the problems they had. The talk was on High Performance Mobile Websites: (more)
category: Smart Client | clicked: 0 | comment | | source: blog.jamesdbloom.com
tags: High, Mobile, Performance, Websites
1
Pins

JVM Internals

published 5 days, 10 hours, 4 minutes ago posted by vasantvasant 27 days, 19 hours, 50 minutes ago
Tuesday, May 14, 2013 6:40:47 PM 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
1
Pins

Lessons to learn from Hibernate core implementation

published 5 days, 10 hours, 4 minutes ago posted by DaneDane 30 days, 16 hours, 5 minutes ago
Tuesday, May 14, 2013 6:40:47 PM GMT Friday, April 19, 2013 12:39:02 PM GMT
Lessons to learn from Hibernate core implementation. (more)
category: Architecture | clicked: 0 | comment | | source: javadepend.wordpress.com
tags: Hibernate implementation
2
Pins

Maintainable Rich Web Applications with AngularJS – Part 2

published 32 days, 15 hours, 5 minutes ago posted by hwilminghwilming 59 days, 8 hours, 20 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 32 days, 15 hours, 5 minutes ago posted by Mani132Mani132 70 days, 13 hours, 8 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 69 days, 12 hours, 21 minutes ago posted by Mani132Mani132 81 days, 20 hours, 51 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 69 days, 12 hours, 21 minutes ago posted by Mani132Mani132 81 days, 20 hours, 52 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 69 days, 12 hours, 21 minutes ago posted by Mani132Mani132 81 days, 20 hours, 56 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 69 days, 12 hours, 21 minutes ago posted by Mani132Mani132 81 days, 21 hours, 20 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 69 days, 12 hours, 21 minutes ago posted by http://www.code2learn.com/http://www.code2learn.com/ 90 days, 15 hours, 57 minutes 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
4
Pins

Maintainable Rich Web Applications with AngularJS

published 116 days, 12 hours, 38 minutes ago posted by hwilminghwilming 116 days, 18 hours, 6 minutes ago
Wednesday, January 23, 2013 4:06:18 PM GMT Wednesday, January 23, 2013 10:38:24 AM GMT
The development of maintainable JavaScript-/HTML based Rich Web Applications is complicated by maintainability problems. The post explains the essential concepts of AngularJS, which is a JavaScript framework dealing with this problem. (more)
category: Open Source | clicked: 30 | comment | | source: blog.akquinet.de
tags: AngularJS, CSS, html, javascipt, web
3
Pins

Junit 3 vs Junit 4 Comparison

published 116 days, 12 hours, 38 minutes ago posted by jammyjammy 139 days, 22 hours, 13 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
2
Pins

jQuery Interview Questions

published 132 days, 21 hours, 54 minutes ago posted by vasantvasant 169 days, 8 hours, 47 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 7:57:34 PM GMT
Share on Facebook.Share on Twitter.Share on Google+ With rich internet applications (RIA) being deployed everywhere including enterprises, the related UI frameworks to build these applications are also in demand. Every framework provides something which is fresh in the market. These UI frameworks are javascript based, have support for Ajax, have cross browser support and are extensible. So when you are being screened for a requirement in the organization, the interviewer will try to judge you on variou... (more)
category: Ajax | clicked: 11 | comment | | source: www.javaexperience.com
tags: Interview questions, jquery
3
Pins

Minimizing memory Leaks in your java j2ee applications | Techartifact

published 132 days, 21 hours, 54 minutes ago posted by vasantvasant 169 days, 8 hours, 53 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
1
Pins

get object of ApplicationModule in managed bean in ADF | Techartifact | Techartifact

published 132 days, 21 hours, 54 minutes ago posted by vasantvasant 169 days, 9 hours, 7 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 7:37:46 PM GMT
2get object of ApplicationModule in managed bean in ADF | TechartifactVinayADF, ApplicationModule, bean, get, managed, object, Oracle ADF, Techartifact Views: 445 views Requirment- Need an object of Application module in managed bean Sometime we required to get an object of ApplicationModule in managed bean.May be we want to play with some VO object which we can get from ApplicationModuleImpl Object only. There are two ways. First way- FacesContext context = FacesContext.getCurrentInstanc... (more)
category: ADF | clicked: 7 | comment | | source: www.techartifact.com
tags: ADF, applicationModule, FacesContext.getCurrentInstanc, get, managed bean, Object
2
Pins

Clustering of the messaging subsystem HornetQ in JBoss AS7 and EAP 6 « akquinet-blog

published 132 days, 21 hours, 54 minutes ago posted by hwilminghwilming 172 days, 6 hours, 40 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Wednesday, November 28, 2012 10:04:25 PM GMT
In the recent posts of this series we talked about many different aspects of clustering for the JBoss AS 7 and its quality assured version EAP 6, such as: the basic concepts,managing cluster nodes in domain mode,scalable HA cluster topologies and load-balancing and failover of remote EJB clients. Until now, there is one important thing we have not covered yet: clustering of the messaging subsystem. The EAP 6 as well as the AS 7 uses HornetQ as default messaging provider. In this post we want to give an o... (more)
category: Java EE | clicked: 9 | comment | | source: blog.akquinet.de
tags: Cluster, failover, high availability, hornetQ, JBossAS7, jms, load balancing, messaging
4
Pins

Java collection interview questions

published 132 days, 21 hours, 54 minutes ago posted by extremejavaextremejava 172 days, 11 hours, 43 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
Previous 1 2 3 4 5 6 7 8 9 10 ... 144 145 Next