Category Java

Java: How to save / download a file available at a particular URL location in Internet?


Related articles Creating OSGi projects using Eclipse IDE and Maven (singztechmusings.wordpress.com) Working with OSGi and Maven in Eclipse IDE (singztechmusings.wordpress.com) Java download file from URL with unknown filename (stackoverflow.com) OSGi adoption by Large Scale Java-based Enterprise Software Platforms – LinkedIn Case Study (singztechmusings.wordpress.com) How to create/generate OSGi bundles from existing third-party jars? (singztechmusings.wordpress.com)

NoSQL at Twitter: Why / How they use Scribe, Hadoop/Pig, HBase, Cassandra, and FlockDB for data analytics?


Here’s some interesting NoSQL stuff guys. It’s a presentation about how Twitter uses NoSQL for analytics by Kevin Weil (@kevinweil), Analytics Lead, Twitter. About the presentation Collecting data (Scribe) Storing and Analyzing data (Hadoop) Rapid Learning over Big Data (Pig) .. and Cassandra, HBase, FlockDB. For those who are not aware of the said technologies… […]

How to create/generate OSGi bundles from existing third-party jars?


If you get to work with OSGi, you often have to generate OSGi bundles. Any third party jar can’t be included straightaway in your application – you need to create an OSGi bundle of the jar you want to include. Quoting from http://blog.springsource.org/2008/02/18/creating-osgi-bundles/, a bundle is a JAR file that: Contains […] resources Contains a […]

Creating OSGi projects using Eclipse IDE and Maven


If you want to create any of these projects listed below using Eclipse IDE, OSGi Application Project OSGi Bundle Project OSGi Composite Bundle Project OSGi Fragment Project Blueprint File you need to have IBM Rational Development Tools for OSGi Applications installed. Why do we need these tools?     Create and edit OSGi bundles, composite bundles, […]

OSGi adoption by Large Scale Java-based Enterprise Software Platforms – LinkedIn Case Study


Just happened to see a powerpoint presentation – Building LinkedIn‘s Next Generation Architecture with OSGi  – while looking for real-life case studies of OSGi implementations. Hope you find this interesting! Download it here – LinkedIn’s Next Generation Architecture with OSGi Building LinkedIn’s Next Generation Architecture with OSGi View more presentations from LinkedIn

Working with OSGi and Maven in Eclipse IDE


Well, this time I was trying to do something with OSGi and Maven in Eclipse and I looked out for some interesting stuff that could guide me, and here’s a pdf doc that I found to be useful: Working with Maven, Eclipse and OSGi About OSGi From an article by Sunil Patel @ http://www.javaworld.com/javaworld/jw-03-2008/jw-03-osgi1.html, “The […]

Groovy Programming with Eclipse: A Beginner’s Guide


What’s Groovy? If you know about Groovy already, you may skip this introduction. For those of you who are not aware of it yet, it’s one of the most popular Dynamic language for the Java platform (JVM). It is dynamically compiled to Java Virtual Machine (JVM) bytecode and interoperates with other Java code and libraries. […]

Apache CXF-based Java Web Services: How to log/print the payload XML of incoming SOAP request using LoggingInInterceptor?


I’ve had a requirement to print the exact SOAP XML of incoming requests to one of our web services written using Apache CXF Framework and here’s what I did. For doing this quickly, I’m taking the code from https://singztechmusings.wordpress.com/2010/12/10/java-web-services-soap-over-ssl-cxf-framework/ for CalculationServerIfc that basically does addition/subtraction based on web service requests. Here’s it: and I’m assuming […]

Migrating from EJB to Spring and from JBoss to Apache Tomcat: A Real-Life Case Study of Hyperic v4.5 Release


This case study on migrating the open source web application monitoring and management software, Hyperic, to the Spring Framework and Apache Tomcat was originally delivered by Jennifer Hickey at the 2010 SpringOne 2GX conference. This migration work was done for Hyperic v4.5 release. Here are some of the advantages cited about this migration: 1. Improved […]