follow me on Twitter

    Subscribe to
    Posts [Atom]


    Learning Fedora Linux

    Saturday, November 08, 2008



    Sticky bit: when viewing the details of a directory file permissions will can start out with several values. If it starts with a "t" that is a sticky bit. This means only the user that created it can delete or alter it.
    setuid: when a directories detail startes with "s". This file is ran as if the user created it has run it, even if another user is trying to execute.
    find: less than ideal way of searching the file system
    locate: searches a database of files on the file system
    updatedb: updates locate database
    whereis: lets you search for where programs are stored
    du: disk usage shows how big files are on disk
    du -sh: shows total of current directory
    df: shows total disk size
    less: shows contents of a file. "/" lets you search down and ? lets you search up.
    head: shows beggining of file
    head -n5 myfile: shows 5 of the first lines of a file
    grep -r 'searchtext' *: searches every file in the directory for the 'searchtext'
    grep -i: ignores case on search
    top: shows system processes
    top d: typing d lets you change the refresh rate
    top r: lets you renice or set a lower priority on a process
    pstree: lets you see a hierarchal tree of owned processes
    xorg: controls graphical system for linux

    ls parameters:
    h: shows sizes in kilo, mega and gigabytes
    S: shows sizes in order size

    keyboard shortcuts:
    ctrl+a: move to beginning of line
    ctrl+e: move to end of line
    ctrl+u: delete whole line
    ctrl+k: delete from cursor to end of line
    ctrl+w: delete from cursor to beginning of word
    alt+d: delete from cursor to end of word
    ctrl+l: clear screen
    ctrl+_: undo all changes since last command
    alt+r: undo change made to line
    alt+l: lower case current word

    ls > outputfile.txt: writes results of command to a file
    ls >> outputfile.txt: add results to existing file
    sort < joenames.txt > joesorted.txt: writes file into command and then back out to another file after sorting.

    How to burn as ISO image on Mac OS X

    Wednesday, October 22, 2008

    Insert a blank disc.
    Start Disk Utility.
    From the File menu, choose Open Disk Image and select the ISO to be burned.
    In the list of volumes, you will now see an item representing the ISO file. Select it.
    Click the Burn button and follow the instructions.

    Maintaining a session with Axis2 client

    Thursday, September 04, 2008

    This took me a little while to track down. It seems that there are many different ways to accomplish maintaining a session cookie with the Axis2 client generated stubs. I saw many variations as I googled for the solution but I ended up having to tweak what I found for my own purpose. You can add the following code in your client class that calls your Axis2 stub:

    yourstub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.REUSE_HTTP_CLIENT,
    Boolean.TRUE);


    This is a way of manually turning on Axis2 session management. From my searching it seems that most often this needs to be done when connecting to a ASP.net server. Microsoft . . . really?

    Axis2 Soap Message Error

    Tuesday, September 02, 2008

    I get the error: Exception in thread "main" org.apache.axis2.AxisFault: First Element must contain the local name, Envelope , but found html

    I did some packet sniffing and found out that in the header a chunked attribute is going out in the soap message. I'm not sure what this chunking is but you can turn it off by adding the following code to the client:

    stub._getServiceClient().getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.CHUNKED,
    Boolean.FALSE);

    Enabling WireShark on Mac OS X


    change permissions on file /dev/bpf0

    The Standard

    Saturday, August 09, 2008

    Why do we feel that there is a standard for morality? A sense or right and a sense of wrong? If the universe was meaningless would we not know that the universe is in fact meaningless. Just like when I fall in the water I feel wet I know there is a contrast in my environment. Whereas a fish does not know they are wet as they swim through the water. The fact that this sense has been placed inside me means that there is in fact this standard.

    Books I Need to Read

    Friday, July 25, 2008

    Atlas Shrugged by Ayn Rand
    Fountainhead by Ayn Rand
    I Know Why The Cage Bird Sings by Maya Angelou

    Companies That Use The Spring Framework

    Thursday, June 26, 2008

    jfrog Dependency Analyzer
    POM Dependency analyzer and viewer for Maven2 projects. Spring rich client is used for building the GUI. Tag: Spring Rich Client 135
    NFL.com
    National Football League. Architecture led by Thomas Van de Velde 38
    GridGain
    GridGain is innovative open source grid computing technology. Provides Out-Of-The-Box Integration With Spring, JBoss, AspectJ 136
    Trull
    Trull is a framework for concurrent programming with objects, events, and threads that uses Spring. 118
    Hannon Hill Corporation, Atlanta, GA
    Hannon Hill is embracing the Spring Framework to build Cascade Server 5.0 98
    Jasypt : Java Simplified Encryption
    Jasypt is a java library to add basic encryption capabilities to projects with minimum effort, and without the need of having deep knowledge on how cryptography works. Suitable for integration into Spring-based applications... 97
    Smart Trade Trading Platform (S.T.T.P)
    From a technical perspective, says David Vincent, CTO at Smart Trade, “the STTP has been developed using object-oriented methodology and built on a component approach. Each component can be extracted from the rest and replaced by another one via th 142
    UK Trade & Investment
    UK Trade & Investment Business Information Management 229
    macys.com and bloomingdales.com
    Integrated the Spring framework with macys.com and bloomingdales.com running on WebSphere 6 and DB2. Converted the applications to use Spring in place of the old DI framework. Used Spring AOP and AspectJ to provide transparent caching. 222
    Voca
    Voca is Europe’s leading processor of direct debit and direct credit transactions. The core systems of Voca use the Spring Framework. 257
    Springframework.com - Spring Framework Users
    A partial list of Spring users in Banking and Finance, High-volume web, Health and Pharmaceutical engineering, Education, Government Software, Media and Publishing... 997
    Zilverline Search Engine
    Zilverline is built in Java on top of Lucene and Spring. You need a Servlet Engine, such as Tomcat to run it. 227
    NCeSS- University of Manchester
    GEMEDA: Grid Enables Microeconometric Data Analysis is an application that uses Spring 1.2.3 126
    Logical Apps
    Logical Apps product called AppsCreate makes heavy usage of the Spring Framework. 246
    Who’s using Spring?
    A partial list of some of Spring users by Rod Johnson at the end of his presentation: "Introduction to open-source Spring framework for J2EE" at WebSphere User Group (UK) 1552
    Opodo
    Opodo is one of Europe's largest travel sites. Opodo is using Spring Framework. 345
    JTrac
    JTrac is an open-source generic issue-tracking web-application that can be easily customized by adding custom fields and drop-downs. Features include customizable workflow, field level permissions, e-mail integration, file attachments and a detailed 357
    Virgin Mobile UK
    Spring is used through out in a re-implementation of Virgin Mobile UK's (5th biggest mobile phone provider in the UK) B2C website. 268
    French Tax Authority
    Migration of a system of applications built on EJB 2.x towards a lightweight architecture based upon Spring and Hibernate. Spring was applied Spring to offer more than 34 million tax payers in France a set of next generation applications... 388
    The European Patent Office
    The European Patent Office uses Spring and Spring Web Flow in mission-critical applications providing public access to intellectual property management across 25 countries. 172
    JP Morgan Chase
    Please see page 33 of the presentation at the 2005 JavaOne conference ( Session TS-5471) by Rod Johnson and John Davies from Prime Brokerage- JP Morgan Chase. 518
    DekaBank
    This presentation references Dekabank as a major German domestic bank that developped a multichannel, missioncritical trading application which leverages Spring features across all tiers. 386
    Symantec Corp.
    Titan, a technical support case tracking tool used by call-centers accross Symantec Corp. Spring is heavily used in all aspects of Titan, and is rapidly been adopted by other project groups. 312
    US National Healthcare Provider System
    US wide portal providing real time and batch fee information for 39 US insurance companies 233
    CARad - eBay Motors professional tool for selling a used car online.
    eBay's CARad.com team evolved a well-established, high-volume eBay application to a Spring/Hibernate/Tapestry/Axis-based architecture. 246
    CERN Controls Group
    Architecture for LHC Controls Software by Lionel Mestre presented at iCALEPCS 2005 - Geneva 240
    Insurance Eligibility system
    Replacement of legacy Insurance system running on mainframe by Spring-based solution set. 241
    European Comission
    The Commission's web site providing the latest official press releases, photos and live TV coverage of EU affairs details of forthcoming events, links to the policies administered and implemented by the Commission... 288
    FA Premier League football
    FA Premier League football (very high-profile site in the UK). 348
    Spring Framework Case Study: Rebuilding the AutoZone.com Engine
    A tresentation in "Java in Action, Orlando 5-7 October 2005" by Zachary Lendon. Spring Framework was used for re-engineering AutoZone.com from the ground up. Strategies for integrating Spring's MVC into a legacy Web application were discussed. 432
    World of Warcraft
    WoW running Spring was reported by Magnus Mickelsson in his blog: http://www.darkwolf.ws/blog/blojsom/java/ 419
    Nominet
    Nominet, the UK domain name registry has standardized on Spring as the backbone of its Java web applications. 163
    Online Enrollment System for DQV Inc, Boston, US
    Online Enrolment allows benefit administrators to access, enquire and process subscriber eligibility information via the Internet. 160
    ServiceCycle
    Web based collaboration and organization platform for inviduals, businesses and non-profit organizations 197
    XPLink Co., Ltd.
    Clients: Advance Info Service Public Company Limited Project: TAP Converter and Editor (GSM standard for call details transfer for International roaming called TAP3) Technology: Java, XML, Spring Framework, Hibernate, Velocity, GSM Association 180
    Wedge
    Wedge is a component centric web framework built on Spring that is intended to bring a plus of simplicity into the web development. 212
    SubscriptionCycle
    Web based publishing software for premium content. In other words, your subscribers probably pay you for subscriptions to your content. SubscriptionCycle conveniently publishes in all formats including HTML, website integration, email and RSS (blog). 186
    Report from the trenches- Statoil
    Example of Spring usage for Building Statoil’s TOPS portfolio. PDF presentation, Einar Landre, 14-15 September 2005 221
    ilse.nl - internet begint bij ilse
    A popular Dutch search portal. 205
    Confluence
    Confluence, from Atlassian a private Australian software company , is a knowledge base/wiki powered by Spring. 246
    First experiences with the Spring Framework, Trivadis AG, Switzerland
    Nicolas Stern describes how the Spring Framework was used at Trivadis AG to build a web application to support a document validation process a large multinational company. 261
    Open Source Enterprise Java Ecommerce
    A Spring-based ecommerce solution with all the benefits of the Spring Framework and no EJBs. 609
    Kosmos
    Kosmos stands for Komposite Open Source Monitoring Suite. It tracks the evolution of various aspects in a software development project. It uses Spring as IoC container. 322
    Jetspeed 2 Enterprise Portal
    Jetspeed 2.0 is an Open Source Enterprise Portal. Its foundation Component Architecture: comes with Spring-based Components. 294
    JA-SIG Central Authentication Service 3.0
    JA-SIG Central Authentication Service 3.0 is a completely re-architected version of Yale's Central Authentication Service. Rebuilt from the ground up using the Spring Framework is J2EE "best practices". 215
    SAKAI - Open Source LMS
    SAKAI uses the Spring Framework to define the loose coupling between components in the framework. 301
    Alfresco
    Alfresco is an open source, open-standards content repository. Alfresco uses Spring Framework in its Content Management Java API 320
    Open Source Portfolio (OSP)
    OSP ePortfolio is a web-based software for individual learners, teachers, and professionals to create electronic portfolios to represent themselves. It uses the Spring Framework. 304
    Spring Framework Reviewed
    Howard Abram finished a project using the Spring Framework and all he can say it is sweet. He is impressed by both the simplicity as well as the flexibility... 471
    Red-Piranha
    Red-Piranha is an open source Java based search and knowledge tool that uses Spring to get a lot of functionality. 445
    Liferay Portal
    Liferay is the leading open-source portal platform. Liferay's business beans are built on top of Spring. This allows you to leverage Spring's AOP, IOC, and proxy features to customize Liferay.