Archives
-
Introducing NIO.2 (JSR 203) Part 6: Filtering directory content and walking over a file tree
In this article we discuss how to walk over a directory tree and visit all of its content down to a specific level. We also discuss how to filter content of a directory based on the file attributes to find the files we need in a directory.
-
JavaZone 2010 sessions I am going to attend
This is a list of JavaZone 2010 sessions I am planning to attend. Selecting this list was really hard as all of the presentations are exceptionally good.
Aug 12th, 2010 | Filed under Apache, Architecture, Enterprise Architecture, GlassFish, Java, Java EE, Java SE, JavaZone, JavaZone 2010, Learning, Modularity, Presentations, Web Services -
Introducing NIO.2 (JSR 203) Part 5: Watch Service and Change Notification
In this entry we will look at one of the most waited functionalities of NIO.2. The watch and notification service which allows us to monitor changes in file system. We can monitor deletion, creation, modification and so on.
-
I will be speaking at JavaZone 2010 about NIO.2
My abstract for presenting at JavaZone 2010 about NIO.2 has been accepted and I will be speaking on 8th of September in saloon 1 from 10:15 to 11:15
Jul 20th, 2010 | Filed under Announcement, Java, Java SE, JavaZone, JavaZone 2010, Learning, Presentations -
Introducing NIO.2 (JSR 203) Part 4: Changing File System Attributes and Permissions
In this entry you will learn how to use nio.2 to change the files and directories attributes and permissions using nio.2 included in Java 7.
-
Introducing NIO.2 (JSR 203) Part 3: File System Attributes and Permissions support in NIO.2
In two previous entries I covered Introducing NIO.2 (JSR 203) Part 1: What are new features? and Introducing NIO.2 (JSR 203) Part 2: The Basics In this entry I will discuss Attributes introduced in NIO.2. Using attributes we can read platform specific attributes of an element in the file system. For example to hide a [...]
-
Introducing NIO.2 (JSR 203) Part 2: The Basics
In this part we will discuss the basic classes that we will work with them to have file system operations like copying a file, dealing with symbolic links, deleting a file, and so on. I will write a separate entry to introduce classes which are new to Java 7 for dealing with streams and file [...]
-
Introducing NIO.2 (JSR 203) Part 1: What are new features?
I will write a series of blog to discuss what are the new features introduced in NIO.2 (JSR 203). The NIO.2 implementation is a part of OpenJDK project and we can alreay use it by downloading a copy of OpenJDK binary. In the first entry I will just go through what are these new I/O [...]
-
GlassFish Security book FAQ 1: Custom Security Realm in GlassFish
I decided to write down the answer for some questions which my book’s readers email me or ask me via twitter in my weblog so everyone can benefit from the answers. Here is the answer to the first question which involves custom security realms. GlassFish supports 5 types of security realms out of the box [...]
May 18th, 2010 | Filed under GlassFish, GlassFish Security, How To, Java, Java EE, Java EE Security, Java SE, Learning, Software Security -
GlassFish v3 and EJBCA 3.x a fair couple for mutual SSL authentication.
Please use the following articles while I am updating this entry How to have your Own CA and configure Glassfish and your clients for mutual authentication? How to have your Own CA and configure Glassfish and your clients for mutual authentication?, Part II Please post any comment or question here so we can have one [...]
May 13th, 2010 | Filed under GlassFish, GlassFish Security, Java EE, Java EE Security, Java SE, Learning, Open Source, Software Security
