JavaPins - Stories tagged with Java
1
Pins

Common code violations in Java

posted by anishaanisha 573 days, 8 hours, 35 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: 5 | comment | | source: veerasundar.com
tags: code voilation, Java
1
Pins

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

posted by anishaanisha 573 days, 8 hours, 43 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: 2 | 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 537 days, 8 hours, 51 minutes ago posted by anishaanisha 573 days, 9 hours, 11 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 573 days, 15 hours, 33 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 538 days, 10 hours, 9 minutes ago posted by anishaanisha 573 days, 15 hours, 42 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 573 days, 15 hours, 49 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: 1 | 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 574 days, 9 hours, 10 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 574 days, 9 hours, 12 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 538 days, 10 hours, 9 minutes ago posted by anishaanisha 574 days, 9 hours, 28 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 569 days, 10 hours, 35 minutes ago posted by anishaanisha 574 days, 9 hours, 51 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
1
Pins

A Programmer's Journal: Building message based application using Camel

published 571 days, 17 hours, 18 minutes ago posted by anishaanisha 574 days, 11 hours, 52 minutes ago
Saturday, September 22, 2012 10:33:02 AM GMT Wednesday, September 19, 2012 3:59:12 PM GMT
This is a long article that contains three separate topics:Getting started with Apache Camel with JavaImproving startup of routes with a CamelRunnerBuilding message based application using Camel But since I've prepared a camel-demo-1.0.0-SNAPSHOT-project.zip that has all these materials included, I thought it would easier to combine them and present it as whole. (more)
category: Open Source | clicked: 5 | comment | | source: saltnlight5.blogspot.gr
tags: Apache Camel, application, Java
1
Pins

Java program to find IP Address of localhost - Example Tutorial

published 574 days, 18 hours, 10 minutes ago posted by anishaanisha 575 days, 9 hours, 31 minutes ago
Wednesday, September 19, 2012 9:41:06 AM GMT Tuesday, September 18, 2012 6:19:48 PM GMT
How to find IP address of local host from Java programJava networking API provides method to find IP address of localhost from Java program by using java.net. InetAddress class. It’s rare when you need IP address for localhost in Java program. Mostly I used Unix command to find IP address of localhost. For all practical purpose where program doesn’t need IP address but you need to troubleshoot any networking issues (more)
category: Java EE | clicked: 7 | comment | | source: javarevisited.blogspot.gr
tags: IP address, Java, local host
1
Pins

What is EnumMap in Java – Example Tutorial

published 574 days, 18 hours, 10 minutes ago posted by anishaanisha 575 days, 9 hours, 34 minutes ago
Wednesday, September 19, 2012 9:41:06 AM GMT Tuesday, September 18, 2012 6:17:20 PM GMT
EnumMap is specialized Map implementation designed and optimized for using Java Enum as key. Since enum can represent a type (like class or interface)  in Java and it can also override equals() and hashCode() , It can be used inside HashMapor any other collection but using  EnumMap brings implementation specific benefits which is done for enum keys, (more)
category: Java EE | clicked: 8 | comment | | source: javarevisited.blogspot.gr
tags: enumMap, Java
1
Pins

Vanilla #Java: Hidden code

published 574 days, 18 hours, 10 minutes ago posted by anishaanisha 575 days, 9 hours, 46 minutes ago
Wednesday, September 19, 2012 9:41:06 AM GMT Tuesday, September 18, 2012 6:05:26 PM GMT
Sometime ago I came across the issue of invisible characters in Strings. These can really cause confusion because they are invisible. String a = "Hello\u200e"; String b = "Hello\u200f"; (more)
category: JAVA | clicked: 10 | comment | | source: vanillajava.blogspot.in
tags: hidden code, Java
1
Pins

Java and NoSQL in the Real World

published 575 days, 10 hours, 39 minutes ago posted by anishaanisha 576 days, 7 hours, 33 minutes ago
Tuesday, September 18, 2012 5:11:56 PM GMT Monday, September 17, 2012 8:18:27 PM GMT
In the Java world, Not-only-SQL (NoSQL) systems can be applied in a large number of problem domains. In general, it’s safe to say that NoSQL is a contender against traditional RDBMSs if data storage and retrieval needs aren’t transactional. This presentation covers three case studies where traditional RDBMS approaches had been taken, and ultimately abandoned in favor of NoSQL document databases and massive, (more)
category: Java EE | clicked: 8 | comment | | source: www.java-tv.com
tags: Java, NoSql
1
Pins

Migrating a Struts/Java E-Mail Application to Lift/Scala

posted by anishaanisha 576 days, 7 hours, 48 minutes ago
Monday, September 17, 2012 8:03:19 PM GMT
This video reports decisions and experiences in migrating a Java application to Lift/Scala. The topics covered are: The Mapper OR-Mapping framework; Problems in separating user interface from business logic; Comparison with JPA and Hibernate; How to get quickly an application without scaffolding; Configuring Lift by the LiftRules and S objects; (more)
category: Java EE | clicked: 0 | comment | | source: www.java-tv.com
tags: e mail application, Java, Scala, Struts
1
Pins

Heroku and Java

posted by anishaanisha 576 days, 7 hours, 50 minutes ago
Monday, September 17, 2012 8:01:42 PM GMT
Heroku is a cloud application platform that makes it easy for you to deploy and scale Java applications in the cloud. This video demonstrates how you can do this. It covers building a Heroku Java web application, coding with Heroku (Maven and Gradle), using Heroku for Java in a non-web context and deploying and scaling on Heroku. (more)
category: Java EE | clicked: 0 | comment | | source: www.java-tv.com
tags: heroku, Java
1
Pins

Hierarchical Data for Java

posted by anishaanisha 576 days, 7 hours, 54 minutes ago
Monday, September 17, 2012 7:57:27 PM GMT
Hierarchy is a meta-compiler that extends the Java language to add support for XML-like hierarchical data. The video provides us with code examples and demos the use of three new file types that Hierarchy adds to Java (.matrix, .schema, & .mjava). Hierarchy seems like the natural evolution of working with data: (more)
category: Java EE | clicked: 0 | comment | | source: www.java-tv.com
tags: hierarchical data, Java
1
Pins

Developing with Java and Couchbase Server

posted by anishaanisha 576 days, 8 hours, 2 minutes ago
Monday, September 17, 2012 7:49:03 PM GMT
This video provides an overview of Couchbase NoSQL, the ecosystem and what it means to Java developers and implementers. We will demonstrate with examples of how to use the Java APIs on Couchbase to drive home some of these concepts. NoSQL has garnered tremendous attention in recent years as the basis of architectures for building large linearly scalable systems. (more)
category: Java EE | clicked: 0 | comment | | source: www.java-tv.com
tags: couchbase serevr, Java
1
Pins

Using Cucumber with Java

posted by anishaanisha 576 days, 8 hours, 3 minutes ago
Monday, September 17, 2012 7:47:54 PM GMT
The Cucumber open source software testing tool lets software development teams describe how software should behave in plain text. The text is written in a business-readable domain-specific language and serves as documentation, automated tests and development-aid – all rolled into one format. This video explains how you should be able to test your Java code with cucumber. (more)
category: Java EE | clicked: 0 | comment | | source: www.java-tv.com
tags: cucumber, Java, Open Source
Previous 1 2 3 4 5 6 7 8 9 10 ... 42 43 Next