background preloader

Fsznajderman

Facebook Twitter

Fabrice Sznajderman

WebLogic ClassLoaders and ClassLoader Analysis Tool. Chapter 4. Resources. Java's standard java.net.URL class and standard handlers for various URL prefixes unfortunately are not quite adequate enough for all access to low-level resources.

Chapter 4. Resources

For example, there is no standardized URL implementation that may be used to access a resource that needs to be obtained from the classpath, or relative to a ServletContext. While it is possible to register new handlers for specialized URL prefixes (similar to existing handlers for prefixes such as http:), this is generally quite complicated, and the URL interface still lacks some desirable functionality, such as a method to check for the existence of the resource being pointed to. 4.2. The Resource interface Spring's Resource interface is meant to be a more capable interface for abstracting access to low-level resources. public interface InputStreamSource { InputStream getInputStream() throws IOException; } Some of the most important methods from the Resource interface are:

Coding/Scripting. Git: Your New Best Friend [Server Side Essentials] Introduction This article introduces version control and Git without assuming you have any prior knowledge or programming experience.

Git: Your New Best Friend [Server Side Essentials]

Because of its introductory nature, certain details are simplified or omitted and the use of the Git Graphical User Interface (Git GUI) is emphasized. Afterwards the reader should be able to use Git for basic version control and know where to locate further information. Version control is the process of recording the history of changes to files as they are modified. Users can go back in time and get old versions and identify where changes were introduced (people sometimes refer to version control tools as time machines). The first version control (VC) tool, SCCS, was written in 1972 and since that time there have been major advances in the way VC tools are used.

Other well-known VC tools – for example Subversion – are classed as centralized and provide only a single place, the repository, into which users store their changes on a regular basis. Concepts <! Gatling Project - Stress Tool. GitHub - Social Coding. Fabszn's Profile - GitHub. Google.

Guava-libraries - Guava: Google Core Libraries for Java 1.5+ Why programmers work at night. [This essay has been expanded into a book, you should read it, here] Image via Wikipedia A popular saying goes that Programmers are machines that turn caffeine into code.

Why programmers work at night

And sure enough, ask a random programmer when they do their best work and there’s a high chance they will admit to a lot of late nights. Some earlier, some later. A popular trend is to get up at 4am and get some work done before the day’s craziness begins. At the gist of all this is avoiding distractions. I think it boils down to three things: the maker’s schedule, the sleepy brain and bright computer screens.

The maker’s schedule Paul Graham wrote about the maker’s schedule in 2009 – basically that there are two types of schedules in this world (primarily?). On the other hand you have something PG calls the maker’s schedule – a schedule for those of us who produce stuff. This is why programmers are so annoyed when you distract them. The sleepy brain But even programmers should be sleeping at night. Bright computer screens. jQuery google api and other google hosted javascript libraries. - ScriptSrc.net.