JavaPins - Stories tagged with Java
1
Pins

java interview questions and answers

posted by vivaviva 22 days, 4 hours, 2 minutes ago
Tuesday, May 28, 2013 5:30:22 AM GMT
Q&A CategoriesAptitude TestAsp.net Interview QuestionsC interview questionsC# interview questionsCore java interview questionsDotnet interview questionsHR interview questionsJava interview questionsJob interview questionsJSP interview questionsNetworking interview questionsOOPS interview questionsOracle interview questionsPHP interview questionsQTP interview QuestionsSap interview questionsAbap interview questionsSAP Basis Interview Questionssap Hana interview questionsWebdynpro Interview QuestionsSQ... (more)
category: JAVA | clicked: 0 | comment | | source: www.troveinterview.com
tags: interview, Java, Questions
1
Pins

Remember Design Patterns by Images » Searchdaily | Searchdaily

published 27 days, 23 hours, 42 minutes ago posted by vasantvasant 54 days, 10 hours, 46 minutes ago
Wednesday, May 22, 2013 9:50:14 AM 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: 12 | comment | | source: searchdaily.net
tags: Behavior Pattern, Creational Pattern, DesignPattern, Java, Structural Pattern
1
Pins

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

published 99 days, 17 hours, 9 minutes ago posted by http://www.code2learn.com/http://www.code2learn.com/ 120 days, 20 hours, 45 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
1
Pins

Difference between HashSet and TreeSet in Java | Techartifact | Techartifact

published 163 days, 2 hours, 42 minutes ago posted by vasantvasant 199 days, 13 hours, 40 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
3
Pins

Minimizing memory Leaks in your java j2ee applications | Techartifact

published 163 days, 2 hours, 42 minutes ago posted by vasantvasant 199 days, 13 hours, 41 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

Files for RESTful webservices with JAX-RS « Java Team at Kentor

published 203 days, 19 hours, 7 minutes ago posted by anujaanuja 235 days, 1 hour, 49 minutes ago
Tuesday, November 27, 2012 2:24:55 PM GMT Saturday, October 27, 2012 7:43:31 AM GMT
I promised in my previous blog post about my seminar on RESTful webservices with JAX-RS that I would write a new post with links to the PowerPoint slides and code examples. So here it is! You have to install the Android SDK to be able to test the Android App. For the service you can use mvn jetty:run to start the server. (more)
category: Web Service | clicked: 11 | comment | | source: kentorjava.com
tags: Android development, Java, JAX-RS, RESTful
1
Pins

Hibernate and JPA guidelines [part 1] « Java Team at Kentor

published 203 days, 19 hours, 7 minutes ago posted by anujaanuja 235 days, 1 hour, 51 minutes ago
Tuesday, November 27, 2012 2:24:55 PM GMT Saturday, October 27, 2012 7:41:49 AM GMT
I recently had a cooperation with some colleagues from the Oracle team, putting together a document with some guidelines and tips for working with Hibernate/JPA and Oracle from a performance point of view. I decided to take some of these general guidelines and tips for Hibernate/JPA to do a three part serie with blogposts here on our blog. Each topic is divided into three parts; problem, suggestion and value. Each topic evolves from a identified problem and then makes a suggestion for dealing with the pr... (more)
category: ORM | clicked: 19 | comment | | source: kentorjava.com
tags: guidelines, Hibernate, Java, JPA, Performance
1
Pins

Hibernate and JPA guidelines [part 3] « Java Team at Kentor

published 203 days, 19 hours, 7 minutes ago posted by anujaanuja 235 days, 1 hour, 52 minutes ago
Tuesday, November 27, 2012 2:24:55 PM GMT Saturday, October 27, 2012 7:40:43 AM GMT
This is the last post of three with Hibernate/JPA guidelines. This post consists more of some tips and trix rather then general guidelines. As I wrote in previous posts each topic is divided into three parts; problem, suggestion and value. All topics evolves from a identified problem and then makes a suggestion for dealing with the problem and a value for what benefits you get from using the suggestion. Solving LAZY FetchType for OneToOne relations (more)
category: ORM | clicked: 3 | comment | | source: kentorjava.com
tags: guidelines, Hibernate, Java, JPA, Performance
3
Pins

How to convert numbers to String in Java

published 198 days, 21 hours, 30 minutes ago posted by javabuddyjavabuddy 238 days, 19 hours, 42 minutes ago
Sunday, December 02, 2012 12:02:02 PM GMT Tuesday, October 23, 2012 1:50:29 PM GMT
Code example and analysis of converting numbers to String in Java. (more)
category: JAVA | clicked: 23 | comment | | source: java67.blogspot.sg
tags: Java
2
Pins

TreeSet vs HashSet in Java

published 230 days, 23 hours, 19 minutes ago posted by javabuddyjavabuddy 261 days, 19 hours, 47 minutes ago
Wednesday, October 31, 2012 10:13:21 AM GMT Sunday, September 30, 2012 1:45:02 PM GMT
Both TreeSet and HashSet implements Set interface but they are quite different to each other. In order to use them effectively, knowing difference between TreeSet and HashSet is very important. This article help you on that part. (more)
category: JAVA | clicked: 41 | comment | | source: java67.blogspot.sg
tags: Java
1
Pins

Common code violations in Java

posted by anishaanisha 271 days, 14 hours, 16 minutes ago
Thursday, September 20, 2012 7:16:09 PM GMT
At work, recently I did a code cleanup of an existing Java project. After that exercise, I could see a common set of code violations that occur again and again in the code. So, I came up with a list of such common violations and shared it with my peers so that an awareness would help to improve the code quality and maintainability. I’m sharing the list here to a bigger audience. (more)
category: JAVA | clicked: 4 | comment | | source: veerasundar.com
tags: code voilation, Java
1
Pins

Java pitfalls: Field access in inner classes | Jawsy Solutions technical blog

posted by anishaanisha 271 days, 14 hours, 24 minutes ago
Thursday, September 20, 2012 7:08:16 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? Note! I’m only looking here at the generated bytecode, and not considering any JIT optimizations, so this “performance analysis” is very naïvepublic class Tes... (more)
category: Java EE | clicked: 0 | comment | | source: jawsy.fi
tags: field access, inner classes, Java
1
Pins

Run Java Console Applications in the Cloud « Jelastic — Rock-Solid Java in the Cloud, Java Server Hosting, Java Cloud Computing

published 235 days, 14 hours, 32 minutes ago posted by anishaanisha 271 days, 14 hours, 52 minutes ago
Friday, October 26, 2012 7:00:36 PM GMT Thursday, September 20, 2012 6:39:58 PM GMT
Last week we shared with you the addition of the IaaS feature VDS to Jelastic PaaS. Today we’ll show you how to use this add-on to run your java console applications. Let’s check out some of the main use... (more)
category: Java EE | clicked: 12 | comment | | source: blog.jelastic.com
tags: cloud, console application, Java, Run
1
Pins

Java, Integration and the virtues of source

posted by anishaanisha 271 days, 21 hours, 15 minutes ago
Thursday, September 20, 2012 12:17:54 PM GMT
Recently, I was doing an analysis/tuning on a Java application server installation in order to identify the bottlenecks and fix them. The most common action in such procedure (tuning) is to retrieve many Thread dumps, when system is on load. Please have in mind that heavy load (for some cases) may have side effects that they may lead us to wrong conclusions. (more)
category: JAVA | clicked: 0 | comment | | source: sourcevirtues.wordpress.com
tags: Java, Runnable, Threads
1
Pins

Deploy the Java Web Application to Jelastic Paas Cloud | Ramki Java Blog

published 236 days, 15 hours, 50 minutes ago posted by anishaanisha 271 days, 21 hours, 23 minutes ago
Thursday, October 25, 2012 5:42:37 PM GMT Thursday, September 20, 2012 12:09:16 PM GMT
Jelastic is Java Paas (Platform as a Service) cloud for Java Server hosting. we can easily create the server instances(Tomcat, Glassfish ) and SQL Instances (MySQL, PostgreSQL)  and deploy the Java Web applications. (more)
category: Java EE | clicked: 1 | comment | | source: www.ramkitech.com
tags: cloud, Deploy, Java, Jelastic, Web Application
1
Pins

Java Connector to SugarCRM Webservices « Technology Portal

posted by anishaanisha 271 days, 21 hours, 30 minutes ago
Thursday, September 20, 2012 12:02:08 PM GMT
This would a small post will less explanation and more of code snippets (Too  busy to write description and code has proper comments). Here is my effort to minimize research work in getting started with sugar CRM webservice invocation in java Original code was taken from https:/ /github.com a.net.URL;... (more)
category: Java EE | clicked: 0 | comment | | source: ashwinrayaprolu.wordpress.com
tags: connector, Java, sugarCRM, Web Services
1
Pins

GT's Blog: Java grey image from RGB image convert full source code

posted by anishaanisha 272 days, 14 hours, 51 minutes ago
Wednesday, September 19, 2012 6:41:31 PM GMT
The java code below is for making grey image from a image public static void main(String[] args) { BufferedImage org = getImage("test.jpg"); BufferedImage greyImage = getGrayScaleAvg(org); new ImageFrame(org, "Original"); new ImageFrame(greyImage, "After GrayScale"); } (more)
category: JAVA | clicked: 0 | comment | | source: ganeshtiwaridotcomdotnp.blogspot.in
tags: Convert, grey, Image, Java, RGB
1
Pins

GT's Blog: Java code to find public IP address (servlet and client side code)

posted by anishaanisha 272 days, 14 hours, 54 minutes ago
Wednesday, September 19, 2012 6:38:54 PM GMT
Java code to find public IP address : URL url= new URL("http://gt-tests.appspot.com/ip"); BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); String ip = in.readLine(); System.out.println("IP : "+ip); (more)
category: JAVA | clicked: 0 | comment | | source: ganeshtiwaridotcomdotnp.blogspot.in
tags: IP address, Java
2
Pins

Connecting to SQL Server from Java over TCP/IP « Dan Haywood

published 236 days, 15 hours, 50 minutes ago posted by anishaanisha 272 days, 15 hours, 9 minutes ago
Thursday, October 25, 2012 5:42:37 PM GMT Wednesday, September 19, 2012 6:23:33 PM GMT
Been a while since I did this; turns out it’s easy enough. First, you’ll need the current JDBC driver from Microsoft, which can be found here.  Add to classpath as usual. Set up your Java application to use the following JDBC connection settings:ConnectionDriverName=com.microsoft.sqlserver.jdbc.SQLServerDriverConnectionURL=jdbc:sqlserver://127.0.0.1:1433;instance=SQLEXPRESS;da... (more)
category: Java EE | clicked: 4 | comment | | source: danhaywood.com
tags: Connection, Java, SQL Server, TCP/IP
1
Pins

Dive in Oracle: Format Dates in Java

published 267 days, 16 hours, 16 minutes ago posted by anishaanisha 272 days, 15 hours, 32 minutes ago
Monday, September 24, 2012 5:16:27 PM GMT Wednesday, September 19, 2012 5:59:58 PM GMT
I posted before about different date classes in Java and conversions between them. Sometimes I want to display date type in different formats in Java like DD-MM-RRRR , DD-MON-YYYY , MON-YY .... etc I will post about about different Java Classes that can be used for this purpose. (more)
category: JAVA | clicked: 4 | comment | | source: mahmoudoracle.blogspot.gr
tags: Date Formats, Java
Previous 1 2 3 4 5 6 7 8 9 10 ... 41 42 Next