follow me on Twitter

    Subscribe to
    Posts [Atom]


    How to create BlackBerry mobile applications

    Tuesday, April 21, 2009


    Setting up the BlackBerry development Environment, getting started writing BlackBerry apps in Eclipse, just navigating the BlackBerry site to figure out how to download the JDE plugin, none of it is simple or easy to figure out.

    Trying to just begin development for a BlackBerry is the most unintuitive process I have ever encountered in my days as a developer. First there is no clear cut place to just download and install the plugin for eclipse on the BlackBerry site. Once you read all the forums to find the BlackBerry update URL in Eclipse or find the zip file to archive the process just times out again and again. Is BlackBerry wondering why the app world is so slim on apps? Hire a user interface expert to authenticate users and link them to downloads, thats it! To top it off, I'm an apple / mac user. This will cost you double the hoops to jump through to get up and running. And it maybe even more because I still haven't figured out how to do it.

    Searching around on the BlackBerry forums I think greatest advice for development on Mac OS X came from a contributor Lmeadors:

    Ditch that pile of crap JDE, adopt bb-ant-tools, and give us a freaking simulator that is just Java. We don't care if it's slower as long as it works on platforms other than Windows.

    For starters, just give us the JDE in a zip or tbz file instead of an executable. Here's how: Install it, then zip it up. Really, that's all we're asking for here.

    Next, make the stupid thing open source. Let's be honest - you give it away now so you get no value back from it. But your development team pretty much pooched it (sorry guys, but it's true), so let us have it.

    Really.

    It won't cost you any more money (open source developers work on stuff like this for free) and it will add significant value to you because we can make it better which means more (and better) applications for a device that you sell.

    I love my phone. I hate it's development environment. Let us fix it. For free.

    Please.

    Labels: , ,


    How to do a maven install or deploy

    Tuesday, April 07, 2009

    navigate to directory with pom.xml

    invoke the command: mvn install

    First Restful Web Service Hello World Tutorial


    create file:
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;

    @Path ("/helloworld")
    public class HelloWorldResource {

    @GET
    @Produces ("text/plain")
    public String sayHello() {
    return "Hello World";
    }
    }

    insert in web.xml

    JerseyTest

    com.sun.jersey.spi.container.servlet.ServletContainer

    1


    JerseyTest
    /*