<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-545498481999915868</id><updated>2011-11-24T03:44:45.589+01:00</updated><category term='setup'/><category term='readline'/><category term='stdio'/><category term='shell'/><title type='text'>putting rhino to work</title><subtitle type='html'>a log of my experiments with the rhino javascript engine, maybe even including getting some actual work done</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://workingrhino.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/545498481999915868/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://workingrhino.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dr.bob</name><uri>http://www.blogger.com/profile/14253748183912851117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-545498481999915868.post-7385353587837719751</id><published>2007-10-15T12:59:00.000+02:00</published><updated>2007-10-15T13:45:52.913+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stdio'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>readDir</title><summary type='text'>Once you got rhino up and running, one of the first things you'd want to be able to do is read and write files. Out of the box, rhino doesn't offer too much in this department. To load javascript code from files, you got:load(["foo.js", ...])  Load JavaScript source files named by                     string arguments.Good enough for a start - you can write some library functions/objects/whatever </summary><link rel='replies' type='application/atom+xml' href='http://workingrhino.blogspot.com/feeds/7385353587837719751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=545498481999915868&amp;postID=7385353587837719751' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/545498481999915868/posts/default/7385353587837719751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/545498481999915868/posts/default/7385353587837719751'/><link rel='alternate' type='text/html' href='http://workingrhino.blogspot.com/2007/10/readdir.html' title='readDir'/><author><name>dr.bob</name><uri>http://www.blogger.com/profile/14253748183912851117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-545498481999915868.post-5103606637242787343</id><published>2007-10-05T13:31:00.001+02:00</published><updated>2007-10-05T15:48:03.040+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='readline'/><category scheme='http://www.blogger.com/atom/ns#' term='setup'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>getting started</title><summary type='text'>Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.But, you can also make it work the other way around: write javascript, either in script files or interactively in the rhino shell, with the option of calling into java classes from javascript code. That way, all the goodies available in </summary><link rel='replies' type='application/atom+xml' href='http://workingrhino.blogspot.com/feeds/5103606637242787343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=545498481999915868&amp;postID=5103606637242787343' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/545498481999915868/posts/default/5103606637242787343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/545498481999915868/posts/default/5103606637242787343'/><link rel='alternate' type='text/html' href='http://workingrhino.blogspot.com/2007/10/getting-started.html' title='getting started'/><author><name>dr.bob</name><uri>http://www.blogger.com/profile/14253748183912851117</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
