Paul's Raspberry Pi Journal

From Resin 4.0 Wiki

(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
 
Resin is a fairly light-weight for an app server and embeds well.  It's really a nice platform on which to build just about anything in Java, since it can make just about any app HTTP enabled and handles all the mundane services like logging and you don't really want to have to deal with.  It also provides a dependency injection container... Now you may be asking "why do I can about dependency injection when I'm just playing around with hobby projects."  Well personally I pump out Java code much faster using dependency injection and just find it easier to write in that style.   
 
Resin is a fairly light-weight for an app server and embeds well.  It's really a nice platform on which to build just about anything in Java, since it can make just about any app HTTP enabled and handles all the mundane services like logging and you don't really want to have to deal with.  It also provides a dependency injection container... Now you may be asking "why do I can about dependency injection when I'm just playing around with hobby projects."  Well personally I pump out Java code much faster using dependency injection and just find it easier to write in that style.   
  
Resin also includes Quercus, a Java based PHP interpreter.  I'm not really planning to make PHP a focus of this project, but it's handy to have available just in case.
+
Resin also includes [http://quercus.caucho.com/ Quercus, a Java based PHP interpreter].  I'm not really planning to make PHP a focus of this project, but it's handy to have available just in case.
  
 
=== About This Journal ===
 
=== About This Journal ===
  
The Raspberry Pi platform and community certainly seems to be evolving rapidly, but it still seems like there's not enough documentation out there.  In particular Java support is kinda spotty, and I haven't found anything on JEE on a Raspberry Pi.  So I'm going to document my experience in hopes it becomes useful to other Java developers getting started with Raspberry Pi.   
+
The Raspberry Pi platform and community certainly seems to be evolving rapidly, but it still seems like there's not enough documentation out there.  In particular Java support is kinda spotty, and I haven't found anything on JEE on a Raspberry Pi.  So I'm going to document my experience in hope it is useful to other Java developers getting started with Raspberry Pi.   
 +
 
 +
=== Hardware ===
 +
 
 +
* [http://www.newark.com/jsp/search/productdetail.jsp?sku=43W5302 Raspberry Pi Model B] board from [http://www.newark.com/ Newark Element 14] (Upgraded from 256 Mb model for free)
 +
* Little transparent  [http://www.newark.com/multicomp/mc-rp001-clr/enclosure-raspberry-pi-clear/dp/07W8936?Ntt=MC-RP001-CLR plastic enclosure] also from Newark
 +
 
 +
I ordered the Pi early in October since it was backordered by about 4 weeks.  10/15 they sent me an email my order was upgraded for free from 256 Mb to the 512 Mb model. 
 +
 
 +
* [http://www.monoprice.com/products/product.asp?c_id=104&cp_id=10419&cs_id=1041902&p_id=2081&seq=1&format=2 HDMI to DVI adapter from [http://www.monoprice.com/ Monoprice]
 +
* [http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10240&cs_id=1024008&p_id=3992&seq=1&format=2 HDMI cable]
 +
 
 +
I use an IOGear DVI KVM so monitor and keyboard aren't a problem.  In fact the KVM combines the mouse and keyboard into a single USB cable, so that leaves me a free USB port on the RasPi.  However I needed an adapter and HDMI cable.  Monoprice is great for this kind of stuff.
 +
 
 +
* PNY 8 Gb SD card from BJ's (I think... I stoled it from the family camera :) )
 +
* MicroUSB cable and AC adapter from my Kindle
 +
 
  
 
</font>
 
</font>

Revision as of 00:00, 29 November 2012

Contents

Paul's Raspberry Pi Journal

Intro

Hi! I'm Paul Cowan, a software engineer at Caucho Technology. Caucho is primarily a Java EE application server vendor. Our application server is called Resin. I mostly write Java code, but I'm also a computer hobbyist and like to tinker with anything techie.

During Caucho's last engineer meeting in San Francisco (October 2012), I brought up Raspberry Pi as an avenue we could explore for Resin. It probably wouldn't directly sell Resin licenses, but it would be a great marketing vehicle. Everybody like it, Caucho is cool like that, and so I'm off.

About Resin

Resin is a fairly light-weight for an app server and embeds well. It's really a nice platform on which to build just about anything in Java, since it can make just about any app HTTP enabled and handles all the mundane services like logging and you don't really want to have to deal with. It also provides a dependency injection container... Now you may be asking "why do I can about dependency injection when I'm just playing around with hobby projects." Well personally I pump out Java code much faster using dependency injection and just find it easier to write in that style.

Resin also includes Quercus, a Java based PHP interpreter. I'm not really planning to make PHP a focus of this project, but it's handy to have available just in case.

About This Journal

The Raspberry Pi platform and community certainly seems to be evolving rapidly, but it still seems like there's not enough documentation out there. In particular Java support is kinda spotty, and I haven't found anything on JEE on a Raspberry Pi. So I'm going to document my experience in hope it is useful to other Java developers getting started with Raspberry Pi.

Hardware

I ordered the Pi early in October since it was backordered by about 4 weeks. 10/15 they sent me an email my order was upgraded for free from 256 Mb to the 512 Mb model.

I use an IOGear DVI KVM so monitor and keyboard aren't a problem. In fact the KVM combines the mouse and keyboard into a single USB cable, so that leaves me a free USB port on the RasPi. However I needed an adapter and HDMI cable. Monoprice is great for this kind of stuff.

  • PNY 8 Gb SD card from BJ's (I think... I stoled it from the family camera :) )
  • MicroUSB cable and AC adapter from my Kindle


Personal tools
TOOLBOX
LANGUAGES