Monday, April 4, 2011

Notes From Scandev2011-JDK7


Spokesperson:Henrik Ståhl

-JDK7 Not a revolution, but an evolution!

This was an informative presentation of new features in JDK7 and Java SE 8

Henrik talked about the enhancements, and Oracle's strategy on Java. He said that the "Evil Company" wants to support Java for its own good. Oracle bought Java for insurance! He said that there exists some open positions in JDK development team, if you are interested you may contact him. May be you want to be one of 10 thousand Java developer in Oracle.

Some enhancements in JDK7: Strings in switch statements, underscore in variable names, multi catch for exception handling, diamond operator etc...

Other Features in Detail

vm : JSR 292: Support for dynamically-typed languages (InvokeDynamic)
Strict class-file checking [NEW]
lang : JSR 334: Small language enhancements (Project Coin)
core Upgrade class-loader architecture
Method to close a URLClassLoader
Concurrency and collections updates (jsr166y)
i18n : Unicode 6.0
Locale enhancement
Separate user locale and user-interface locale
ionet : JSR 203: More new I/O APIs for the Java platform (NIO.2) (turorial on File I/O)
NIO.2 filesystem provider for zip/jar archives
SCTP (Stream Control Transmission Protocol)
SDP (Sockets Direct Protocol)
Use the Windows Vista IPv6 stack
TLS 1.2
sec :Elliptic-curve cryptography (ECC)
jdbc :JDBC 4.1
client : XRender pipeline for Java 2D
Create new platform APIs for 6u10 graphics features
Nimbus look-and-feel for Swing
Swing JLayer component
web :Update the XML stack
mgmt :Enhanced JMX Agent and MBeans [NEW]

+CSS support for Javadoc :)

Thanks to Henrik!

Notes From Scandev2011-Alistair Cockburn

Scandev2011 started with an introductory speech coming from Emily Bache.
Than the stage was all Alistair Cockburn's, and he talked about shaping the process of software development. He mentioned that, why people are always being beyond the schedule in SW project. He thinks that the software development process is going to be emulated by other sectors in 10 or 20 years by now(I hope so?). And he indicated that every team has to improve themselves on a changing environment. But sometimes the project cost and the team revenue doesn't rise with the same acceleration ratio.

The main idea in his speech was, software development is a cooperative game…

And people should understand the importance of remind-inform-inspire triangle. And the power of communication by face to face talk.

This was an impressive and thoughtful speech to listen.

Thursday, March 10, 2011

Android sdk installation jdk not found error

When there’s a pop up say JDK not found please download and install. First do what it says, than if still same error exists Just press ‘back’ button and then press again ‘next’ button. And you can pass the validation!

Tuesday, December 14, 2010

SLF4J - The Simple Logging Facade for Java

SL4J allows us to use the desired logger mechanism at deployment time. SL4J supports

-Log4j
-java.util.logging
-NOP
-Simple
-JCL

If you want to change the way you log, just change the bridging .jar file and restart the application.

http://www.slf4j.org/index.html

Sunday, August 1, 2010

Ubuntu root password change


~sudo passwd root
~enter your login username password
~Enter your new UNIX Password
~su root
~Enter your new UNIX Password

that is it

Thursday, December 17, 2009

Search a date range using a date range in sql

select count(*) from tablename where (@startDate between startDate and endDate )

or (@endDate between startDate and endDate)

or (@startDate <> endDate )


If this sql returns greater than 0, that means there exists a conflict with your date interval and the db working set.

Saturday, November 14, 2009

Google Go is coming fast :)

Go is …

… simple

package main

import "fmt"

func main() {
fmt.Printf("Hello, 世界\n")
}

… fast

Go compilers produce fast code fast. Typical builds take a fraction of a second yet the resulting programs run nearly as quickly as comparable C or C++ code.

… safe

Go is type safe and memory safe. Go has pointers but no pointer arithmetic. For random access, use slices, which know their limits.

… concurrent

Go promotes writing systems and servers as sets of lightweight communicating processes, called goroutines, with strong support from the language. Run thousands of goroutines if you want—and say good-bye to stack overflows.

… fun

Go has fast builds, clean syntax, garbage collection, methods for any type, and run-time reflection. It feels like a dynamic language but has the speed and safety of a static language. It's a joy to use.

… open source

Go for it.