<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Web Architecture student&#039;s project</title>
	<atom:link href="http://webarcnat.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://webarcnat.wordpress.com</link>
	<description>evidence of how the work is going on</description>
	<lastBuildDate>Mon, 04 Jul 2011 20:08:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='webarcnat.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Web Architecture student&#039;s project</title>
		<link>http://webarcnat.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://webarcnat.wordpress.com/osd.xml" title="Web Architecture student&#039;s project" />
	<atom:link rel='hub' href='http://webarcnat.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Small tips</title>
		<link>http://webarcnat.wordpress.com/2011/07/03/small-tips/</link>
		<comments>http://webarcnat.wordpress.com/2011/07/03/small-tips/#comments</comments>
		<pubDate>Sun, 03 Jul 2011 19:52:55 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=386</guid>
		<description><![CDATA[It is enough to point SessionFactory sessionFactory = new Configuration().configure() if configuration file is in the root of the project. It is good to use alert(message) in Javascript to debug a program. Hovewer later I deleted created earlier javascript, which took hidden parameters from the form and submited it in a custom way, so that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=386&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is enough to point SessionFactory sessionFactory = new Configuration().configure()<br />
if configuration file is in the root of the project.</p>
<p>It is good to use alert(message) in Javascript to debug a program. Hovewer later I deleted created earlier javascript, which took hidden parameters from the form and submited it in a custom way, so that the number of parameters for the next jsp page became less.</p>
<p>html/css part developing is not that fast though.</p>
<p>Work with transactions was using this <a title="book" href="http://java.sun.com/developer/Books/ProEJB/ch9.pdf">book</a></p>
<p>I tried to play with the UML plugin for eclipse from http://www.soyatec.com/euml2/, quite slowly, hovewer at the end the hand made scratch was put into the project, as this requirement came to my mind too late, I hope this plugin still will help.</p>
<p>But the project is working with the main task: writing opinions to the database, and reading the opinions of others, so it is like a forum. An email is not published to everybody, as it is not necessary. The authentication part is hidden under the comments for faster debugging.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/386/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/386/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/386/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=386&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/07/03/small-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>New query</title>
		<link>http://webarcnat.wordpress.com/2011/07/01/new-query/</link>
		<comments>http://webarcnat.wordpress.com/2011/07/01/new-query/#comments</comments>
		<pubDate>Fri, 01 Jul 2011 15:11:02 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=379</guid>
		<description><![CDATA[I decided not to find a reason anymore, but to find another solution. It was hundred of times, when the reason was in two letters&#8230; so: &#160; public static List Select_QualitiesForCategory(int categFine) { //qualities of one category only List liszt=new ArrayList(); Transaction tran = null; Session session = null; try{ SessionFactory sessionFactory = new Configuration().configure(new [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=379&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I decided not to find a reason anymore, but to find another solution. It was hundred of times, when the reason was in two letters&#8230; so:</p>
<p>&nbsp;<br />
<code>public static List Select_QualitiesForCategory(int categFine) {<br />
//qualities of one category only<br />
		List liszt=new ArrayList();<br />
	    Transaction tran = null;<br />
		Session session = null;<br />
	try{<br />
		SessionFactory sessionFactory = new Configuration().configure(new File("D:/eclipse/EWEc/ForumW/src/hibernate.cfg.xml")).buildSessionFactory();<br />
		session =sessionFactory.openSession();<br />
	    tran = session.beginTransaction();</p>
<p>	     List list = session.createQuery("select quality from qlist where qcateg_id=5").list();<br />
		 Iterator itr = list.iterator();</p>
<p>	     while(itr.hasNext()){<br />
	        String qlis = (String)itr.next();<br />
	        System.out.println(qlis);<br />
	        liszt.add(qlis);<br />
	      }<br />
	      tran.commit();<br />
	    }<br />
	    catch(Exception ex){<br />
	      ex.printStackTrace();<br />
	    }<br />
	    finally{<br />
	      session.close();<br />
	    }</p>
<p>	return liszt;<br />
	}</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/379/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/379/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/379/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=379&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/07/01/new-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Strange behavior</title>
		<link>http://webarcnat.wordpress.com/2011/06/30/strange-behavior/</link>
		<comments>http://webarcnat.wordpress.com/2011/06/30/strange-behavior/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 15:03:31 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=377</guid>
		<description><![CDATA[I don&#8217;t know why, but it is still like before &#8211; with the long list of rows from the db it selects a correct times but incorrect values. But when there are only 25 rows, everything is fine. SessionFactory sessionFactory = new Configuration().configure(new File("D:/eclipse/.../hibernate.cfg.xml")).buildSessionFactory(); session =sessionFactory.openSession(); Criteria crit = session.createCriteria(qlist.class); List query = crit.list(); for(Iterator it=query.iterator();it.hasNext();){ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=377&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know why, but it is still like before &#8211; with the long list of rows from the db it selects a correct times but incorrect values.<span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;"> But when there are only 25 rows, everything is fine.</span></p>
<p><code>SessionFactory sessionFactory = new Configuration().configure(new File("D:/eclipse/.../hibernate.cfg.xml")).buildSessionFactory();<br />
session =sessionFactory.openSession();<br />
Criteria crit = session.createCriteria(qlist.class);<br />
List query = crit.list();<br />
for(Iterator it=query.iterator();it.hasNext();){<br />
qlis= (qlist) it.next();<br />
if ((int)qlis.getquality_id()==categFine)<br />
listt.add(qlis);<br />
System.out.println(qlis.getqcateg_id()+"_"+categFine);<br />
}<br />
session.close();</code></p>
<p>I tried using transactions and restrictions as well. Did not help. For example:<br />
<code>public static List Select_QualitiesForCategory(int categFine) {	//qlist, qualities of one category only<br />
		Session session = null;<br />
		List listt = new ArrayList();<br />
	try{	</p>
<p>		SessionFactory sessionFactory = new Configuration().configure(new File("D:/eclipse/EWEc/ForumW/src/hibernate.cfg.xml")).buildSessionFactory();<br />
		session =sessionFactory.openSession();<br />
	 	Criteria crit = session.createCriteria(qlist.class);<br />
		List query = crit.list();<br />
		crit.add(Restrictions.like("qcateg_id", categFine));<br />
		  crit.setMaxResults(100);<br />
	  	for(Iterator it=query.iterator();it.hasNext();){<br />
	 		qlist qlis= (qlist) it.next();<br />
	 		if ((int)qlis.getquality_id()==categFine)<br />
	 			listt.add(qlis);<br />
	 	System.out.println(qlis.getqcateg_id()+"_"+categFine);<br />
	 	}<br />
        session.close();<br />
	}catch(Exception e){<br />
		System.out.println(e.getMessage());<br />
	}finally{<br />
		}<br />
	System.out.println(listt.size());<br />
	return listt;<br />
	}<br />
	</code><br />
And the output contains lots of duplicates. However in the db all names are unique.<br />
<code></code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/377/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/377/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/377/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=377&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/06/30/strange-behavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>New attempt</title>
		<link>http://webarcnat.wordpress.com/2011/06/29/new-attempt/</link>
		<comments>http://webarcnat.wordpress.com/2011/06/29/new-attempt/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 14:45:10 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=372</guid>
		<description><![CDATA[The blue screen appeared again and again, until the pc could not start at all in any mode, in any OS. So again everything from scratch. Almost&#8230; 1) jre6 and then Eclipse IDE for Java Developers Version: Helios Service Release 1 Build id: 20100917-0705 2) JBossTools 3.2.0 (eclipse &#8211; help/install new software) http://download.jboss.org/jbosstools/updates/stable/helios/ 3) mysql-5.5.13-win32.msi [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=372&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The blue screen appeared again and again, until the pc could not start at all in any mode, in any OS. So again everything from scratch. Almost&#8230;</p>
<p>1) jre6 and then Eclipse IDE for Java Developers</p>
<p align="left">Version: Helios Service Release 1</p>
<p>Build id: 20100917-0705</p>
<p>2) JBossTools 3.2.0 (eclipse &#8211; help/install new software)</p>
<p><a href="http://download.jboss.org/jbosstools/updates/stable/helios/">http://download.jboss.org/jbosstools/updates/stable/helios/</a></p>
<p>3) <code>mysql-5.5.13-win32.msi</code></p>
<p><code></code> <a href="http://www.mysql.com/downloads/mirror.php?id=402882#mirrors">http://www.mysql.com/downloads/mirror.php?id=402882#mirrors</a></p>
<p>started MySQL 5.5 Command Line Client, created all tables with data filled in</p>
<p>4) In eclipse created new dynamic we project called Forum, during which I pointed new runtime environment &#8211; JBoss 6.0 Runtime, and new local server. Can not finish this operation because of the error &#8220; The home directory does not exist or is missing the run.jar.&#8221;.  Took jboss-as-distribution-6.0.0.Final, unzipped and pointed a folder in same window with project creating, and also in CLASSPATH. Server: default, behavior: local. Dynamic web module version: 3. Default configuration for JBoss 6.0 Runtime. Ticked Generate web deployment descriptor.</p>
<p>5) Extremely fast created all beans, servlets, classes and added necessary files, then created xml configuration. Problem with creating reverse engineerng file &#8211; &#8220;Error while refreshing database tree&#8221;. Which means that connector hasn&#8217;t been pointed yet. mysql-connector-java-5.1.16-bin. Added all jars into project build path from my ready folder with a set of libs. Then to be sure everything is fine: menu-window-show view- hibernate &#8211; hibernate configuration file &#8211; gives me an error &#8220;could not parse mapping document&#8221; of one of the beans. On one of the forums it was written &#8220;Your sample.hbm.xml doesn&#8217;t define an ID. Make sure you properly map the id of the object to the primary key of your entity. <!-- Attachments -->&#8220;. And yes, mapping in the file hibernate configuration xml is not required. Removed it, not everything expands well.</p>
<p>6) Window &#8211; show view servers. Then added the project into the list for the server. Full publish. Start server. index.html was showed correctly. But the reason of bad usage of direct path in new Configuration().configure(new File(&#8220;C:/&#8230;/src/hibernate.cfg.xml&#8221;) did not allow to go further. The path changed since then. Changed. Full publish. The selection from the db was not done. I created mapping again in conf file, this time no error about duplicate mapping. Then I created reverse engineering file. Full Publish. It works!!! Finally.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=372&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/06/29/new-attempt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>6-years old laptop</title>
		<link>http://webarcnat.wordpress.com/2011/06/21/6-years-old-laptop/</link>
		<comments>http://webarcnat.wordpress.com/2011/06/21/6-years-old-laptop/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 16:52:33 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=369</guid>
		<description><![CDATA[Each time server starts for about 5 minues. Republishing not always works correctly. A strange problem when th table has 529 rows appears: while with the table with only 25 rows the same function works well, with the big one only the first entity name is taken, but as many times, as many entities of indicated category [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=369&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Each time server starts for about 5 minues. Republishing not always works correctly. A strange problem when th table has 529 rows appears: while with the table with only 25 rows the same function works well, with the big one only the first entity name is taken, but as many times, as many entities of indicated category there are. Very strange. About every few hours I see the blue screen and have to backup in time. Strange, because antivirus is working good, I cleared the file system abastanza for not seeing &#8220;not enough space available&#8221; message on both disks. I definitely see the blue screen, when I type with a force, or when move a little bit computer. Maybe that&#8217;s a hardware problem. Not funny.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=369&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/06/21/6-years-old-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>New installation issues</title>
		<link>http://webarcnat.wordpress.com/2011/06/12/new-installation-issues/</link>
		<comments>http://webarcnat.wordpress.com/2011/06/12/new-installation-issues/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 09:05:40 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=359</guid>
		<description><![CDATA[Describing again, to understand possible future bugs, here is how everything was installed: 1) Eclipse Helios: Eclipse IDE for Java Developers, version: Helios Service Release 1, build id: 20100917-0705 2) mysql-5.5.13-win32.msi from http://www.mysql.com/downloads/. (complete installation, custom configuration, in environment variables included bin directory in CLASSPATH) 3) Antivirus Anvir was working all time, did not create any problems. From [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=359&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Describing again, to understand possible future bugs, here is how everything was installed:</p>
<p>1) Eclipse Helios: Eclipse IDE for Java Developers, version: Helios Service Release 1, build id: 20100917-0705</p>
<p>2) mysql-5.5.13-win32.msi from http://www.mysql.com/downloads/.<br />
(complete installation, custom configuration, in environment variables included bin directory in CLASSPATH)</p>
<p>3) Antivirus Anvir was working all time, did not create any problems. From last time the location (or at least the version) of jre was changed, so in project-properties-java build path –JRE system library I chose a new location (already built in eclipse)</p>
<p>4) JBOSS using Eclipse &#8211; help/install new software (JBoss Tools Requirements &#8211; Composite Helios Mirror &#8211; http://download.jboss.org/jbosstools/updates/helios/ , checked the box )</p>
<p>5) Using MYSQL 5.5 command line client created all necessary tables and filled in with data (there were problems only with quotes interpretation (all symbols &#8216; to `), simple replacement helped to solve them. An interesting moment is that both types of quote pairs is required, for example only this way it works:</p>
<p>INSERT INTO qlist (`quality_id`, `qcateg_id`, `quality`) VALUES</p>
<p>(1,4,&#8217;Active&#8217;), &#8230;</p>
<p>)</p>
<p>6) Downloaded mysql-connector-java-5.1.16.zip from <a href="http://www.mysql.com/downloads/">http://www.mysql.com/downloads/mirror.php?id=402367</a>. Few days were spent to understand that connector.jar was already old. A new one was downloaded: mysql-connector-java-5.1.5-bin.jar</p>
<p>7) Also an archive with JBoss 6.0 final was unzipped, and the lib folder was pointed in CLASSPATH (connector.jar was copied to the folder jboss-final/server/default/lib as well) according to this tutorial <a href="http://dev.mysql.com/doc/refman/5.5/en/connector-mxj-install-jboss.html">http://dev.mysql.com/doc/refman/5.5/en/connector-mxj-install-jboss.html</a></p>
<p>8) Added javax.servlet.jar (downloaded from <a href="http://www.java2s.com/Code/Jar/STUVWXYZ/">http://www.java2s.com/Code/Jar/STUVWXYZ/</a>Downloadjavaxservletjar.htm ) to the build path in Eclipse-project-properties. This file javax-servlet.jar was put into CLASSPATH as well.</p>
<p>9) JAVA_HOME was set correctly to jdk folder at the very beginning. I have jdk1.6.0_25, by the way.</p>
<p>10) Select from the menu New | Other | Hibernate | Hibernate Configuration File.<br />
Configured it exactly as described in <a href="http://www.mastertheboss.com/hibernate/284-hibernate">http://www.mastertheboss.com/hibernate/284-hibernate-jboss.html?start=1</a></p>
<p>Problem the same as 6.01.11: Database in view “Hibernate Configurations” could not be expanded.</p>
<p>Instead “Reading schema error: Getting database metadata” appeared.<br />
I indicated localhost:8080/dbname, instead of localhost/dbname.</p>
<p>11) Now the project class: writetoDB has two problems with import:</p>
<p>import com.sun.tools.ws.wsdl.document.Output;<br />
import javax.servlet.jsp.JspWriter;</p>
<p>Added j2ee.jar (downloaded j2ee.jar.zip from <a href="http://www.java2s.com/Code/Jar/JKL/">http://www.java2s.com/Code/Jar/JKL/</a><br />
Downloadj2eejar.htm) to the build path in Eclipse-project-properties</p>
<p>12) Only import com.sun.tools.ws.wsdl.document.Output;  is left to correctthe tools.jar from jre/lib is not ok for that.</p>
<p>Downloaded jaxws-tools.jar.zip( 466 k) from <a href="http://www.java2s.com/Code/Jar/">http://www.java2s.com/Code/Jar/</a><br />
STUVWXYZ/Downloadjaxwstoolsjar.htm<br />
and added to the build path in Eclipse-project-properties</p>
<p>13) Downloaded servlet-api.jar.zip( 85 k) from <a href="http://www.java2s.com/Code/Jar/STUVWXYZ/">http://www.java2s.com/Code/Jar/STUVWXYZ/</a>Downloadservletapijar.htm</p>
<p>did not help</p>
<p>SET CLASSPATH=.;C:\&#8230;..\servlet-api.jar</p>
<p>14) Finally no more errors in project. But no file runs. 404 error for any jsp or java file. Republishing does not help.</p>
<p>Solution &#8211; created a new workspace, new dynamic web project, the file by file, and copying previous text into new files. New hibernate configuration, new server jboss 6.0 runtime.</p>
<p>15) New error with import javax.servlet.annotation.WebServlet;</p>
<p>and @WebServlet(&#8220;/interf&#8221;)</p>
<p>I removed j2ee.jar from the build path.</p>
<p>16) The tables in mysql were already created, so hibernate configurations, reverse engineering importance and jdbc connection problems appeared:</p>
<p>JDBC Driver class not found: com.mysql.jdbc.Driver<br />
JDBC Driver class not found: com.mysql.jdbc.Driver</p>
<p>[STDOUT] empty session for adding quality</p>
<p> INFO [org.hibernate.connection.DriverManagerConnectionProvider]<br />
cleaning up connection pool: null<br />
 INFO [org.hibernate.connection.DriverManagerConnectionProvider]<br />
cleaning up connection pool: null<br />
 INFO [org.hibernate.connection.DriverManagerConnectionProvider]<br />
cleaning up connection pool: null</p>
<p>17) Indicated the path to the project in eclipse in CLASSPATH</p>
<p>18) Mapping problems: at the string session.save &#8211;  Unknown entity</p>
<p>Created again al xml files for each bean, reverse engineering file, hibernate configuration file and put a direct path of the last one in the string writeDB (new File(“…”));</p>
<p>got Unknown entity: beans.qlist</p>
<p>Put also mappings in the configuration file carefully, one by one. Finally it works. So that reading and writing operations with the database are working correctly using hibernate. Hurray.</p>
<p>These are the main steps to restore the previously done project&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/359/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/359/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/359/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=359&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/06/12/new-installation-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Chernobyl disaster</title>
		<link>http://webarcnat.wordpress.com/2011/05/21/chernobyl-disaster/</link>
		<comments>http://webarcnat.wordpress.com/2011/05/21/chernobyl-disaster/#comments</comments>
		<pubDate>Sat, 21 May 2011 17:21:12 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=358</guid>
		<description><![CDATA[On the 26th of April my computer had a total crash. Thanks to 1) unix-required labs of wireless sensor networks labs; concurrency theory project; nomadic communications labs; network security project; 2) unix installation disk with bug for the &#8220;Return&#8221; feature button. Two weeks of future attempts to restore data made my wish to have a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=358&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On the 26th of April my computer had a total crash.</p>
<p>Thanks to</p>
<p>1) unix-required labs of</p>
<ul>
<li>wireless sensor networks labs;</li>
<li>concurrency theory project;</li>
<li>nomadic communications labs;</li>
<li>network security project;</li>
</ul>
<p>2) unix installation disk with bug for the &#8220;Return&#8221; feature button.</p>
<p>Two weeks of future attempts to restore data made my wish to have a faster pc true, as each time the new system is installed, the laptop is quite smart, until there would not be again a lot of programs. So the project I finished worked on in February, was taken as it was sent, not as developed later, unfortunately.</p>
<p>Moreover, it required to install everything from scratch, so my blog was quite useful. I&#8217;m so glad to have it!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/358/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/358/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/358/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=358&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/05/21/chernobyl-disaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>counting</title>
		<link>http://webarcnat.wordpress.com/2011/02/14/counting/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/14/counting/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 23:54:54 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=356</guid>
		<description><![CDATA[Servlets and JSP Pages Best Practices by Qusay H. Mahmoud  &#8211; extremely good and short advices. I have 4 GB of books and things I&#8217;ve learnt since October for web architecture. Not counting libraries, distributives, different versions of Eclipse which I still have and enourmous amount of java projects I created and tested (to many [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=356&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.oracle.com/technetwork/articles/javase/servlets-jsp-140445.html">Servlets and JSP Pages Best Practices</a> by     Qusay H. Mahmoud  &#8211; extremely good and short advices.</p>
<p>I have 4 GB of books and things I&#8217;ve learnt since October for web architecture. Not counting libraries, distributives, different versions of Eclipse which I still have and enourmous amount of java projects I created and tested (to many places to find at one moment all of them for counting). I really want to put everything in an order. It is very useful and I want to create web applications in my further activity.</p>
<p>&nbsp;</p>
<p>&#8220;&#8230;who wants to live forever&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/356/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/356/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/356/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=356&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/14/counting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>the war is not over</title>
		<link>http://webarcnat.wordpress.com/2011/02/12/the-war-is-not-over/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/12/the-war-is-not-over/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 17:52:32 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=352</guid>
		<description><![CDATA[- like Walters and Kazha sing&#8230; Still two days fully dedicated to this subject as for deadline. Minimum requirements of the task are present in the project definitely. And maybe even more. Also I can&#8217;t find how to make posts go in reverse order. It&#8217;s like reading a book from the end to the beginning. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=352&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>- like Walters and Kazha sing&#8230; Still two days fully dedicated to this subject as for deadline. Minimum requirements of the task are present in the project definitely. And maybe even more.</p>
<p>Also I can&#8217;t find how to make posts go in reverse order. It&#8217;s like reading a book from the end to the beginning. Oh right, this direction it will have a happy end for sure. So let it be.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/352/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/352/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/352/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=352&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/12/the-war-is-not-over/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Eclipse</title>
		<link>http://webarcnat.wordpress.com/2011/02/09/eclipse/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/09/eclipse/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 18:43:19 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=350</guid>
		<description><![CDATA[Creating new special project &#8211; easily! Configuring fast! Understanding a lot! Reinstalling, waiting, changning the code, waiting &#8211; that what the process of programming became into. Server is starting for 8 minutes sometimes, publishing and validating takes a lot of time too. That is the current problem. And yes, still a chaos on hard drive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=350&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Creating new special project &#8211; easily! Configuring fast! Understanding a lot! Reinstalling, waiting, changning the code, waiting &#8211; that what the process of programming became into. Server is starting for 8 minutes sometimes, publishing and validating takes a lot of time too. That is the current problem. And yes, still a chaos on hard drive and already in this blog, as I feel. And more and more useless posts &#8211; sorry. Just trying to finish in time. And a protocol with UML diagrams also must be done&#8230; I used Rational Rose last year, interesting, what plugins for that are available for Eclipse.</p>
<p>Might be EclipseUML Omondoor also Rational or Soyatec.</p>
<p>Or like<a href="http://www.myeclipseide.com/module-htmlpages-display-pid-19.html"> this one</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/350/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/350/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=350&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/09/eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>HQL</title>
		<link>http://webarcnat.wordpress.com/2011/02/06/hql/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/06/hql/#comments</comments>
		<pubDate>Sun, 06 Feb 2011 17:35:57 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=347</guid>
		<description><![CDATA[Hibernate is a happiness! After manually setting all table names and sql commands, using HQL is a real joy. And object-oriented programming in full its beauty! What a pleasure not to think about lower-level procedures, but to think once and then to use everywhere. Nice, really nice. That is what was waiting for me these [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=347&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hibernate is a happiness! After manually setting all table names and sql commands, using HQL is a real joy. And object-oriented programming in full its beauty! What a pleasure not to think about lower-level procedures, but to think once and then to use everywhere. Nice, really nice. That is what was waiting for me these 4 years :) all that tima I had not enough reason to learn this great amount of interesting and useful things. I like this subject, I do already enjoy it, and whatever the end mark will be, I have a lot of new excperience and see new more doors where to go. Thanks to everybody who made me working on this project!</p>
<p>And deadline is postponed to 14.02! :)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/347/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/347/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/347/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=347&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/06/hql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>hurrying</title>
		<link>http://webarcnat.wordpress.com/2011/02/04/hurrying/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/04/hurrying/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 15:03:48 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=344</guid>
		<description><![CDATA[What a mess I do have on a hard drive! Web Architecture swallowed the world :) But I&#8217;m sure, I will find the ends and put them into blog accurately. Anyway, folders have appropriate names&#8230; problem is that they are just everywhere, mixed with examples and libraries&#8230; It was a really big challenge for finding [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=344&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What a mess I do have on a hard drive! Web Architecture swallowed the world :) But I&#8217;m sure, I will find the ends and put them into blog accurately. Anyway, folders have appropriate names&#8230; problem is that they are just everywhere, mixed with examples and libraries&#8230;</p>
<p>It was a really big challenge for finding appropriate libraries for my project &#8211; connecting jar files into a project, I mean. But now it is fine and looks like 41 jar files taking 14,2 Mb of space. Some of them are already useless I suppose.</p>
<p>Future posts will be not in a good order, I guess.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=344&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/04/hurrying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Maven</title>
		<link>http://webarcnat.wordpress.com/2011/02/02/maven/</link>
		<comments>http://webarcnat.wordpress.com/2011/02/02/maven/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 19:25:03 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=342</guid>
		<description><![CDATA[It was definitely wrong direction, it requires much more time&#8230; Al those configurations %) Not a successful try.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=342&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It was definitely wrong direction, it requires much more time&#8230; Al those configurations %) Not a successful try.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/342/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=342&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/02/02/maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>hmmm</title>
		<link>http://webarcnat.wordpress.com/2011/01/31/hmmm/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/31/hmmm/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 08:06:05 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=339</guid>
		<description><![CDATA[For the last two weeks were quite busy days , two-three exams per week. I&#8217;m starting thinking that 9 subjects is really a lot, nevertheless 11 per semester in Ukraine is fine&#8230; Another extremely hard week will be from the 7th, deadline for web architecture project is now the the 6th. One week for a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=339&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For the last two weeks were quite busy days , two-three exams per week. I&#8217;m starting thinking that 9 subjects is really a lot, nevertheless 11 per semester in Ukraine is fine&#8230; Another extremely hard week will be from the 7th, deadline for web architecture project is now the the 6th. One week for a real work, simultaneously for 4 subjects.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/339/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/339/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/339/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=339&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/31/hmmm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Authentication</title>
		<link>http://webarcnat.wordpress.com/2011/01/14/authentication/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/14/authentication/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 17:13:55 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=336</guid>
		<description><![CDATA[I&#8217;m happy to be in Trento again. Nice chapters about authentication and security http://docstore.mik.ua/orelly/java-ent/servlet/ch08_01.htm Maybe I&#8217;ll have time to do registration too. During these 4 days I had 5 exams, not counting the missed web architecture&#8230; I&#8217;ll see, how many of them successfully passed.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=336&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to be in Trento again.</p>
<p>Nice chapters about authentication and security<a href="http://docstore.mik.ua/orelly/java-ent/servlet/ch08_01.htm"> http://docstore.mik.ua/orelly/java-ent/servlet/ch08_01.htm</a></p>
<p>Maybe I&#8217;ll have time to do registration too.</p>
<p>During these 4 days I had 5 exams, not counting the missed web architecture&#8230; I&#8217;ll see, how many of them successfully passed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/336/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/336/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/336/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=336&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/14/authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Deadline</title>
		<link>http://webarcnat.wordpress.com/2011/01/08/deadline/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/08/deadline/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 21:04:57 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=331</guid>
		<description><![CDATA[&#8230;is tomorrow. And tomorrow I&#8217;m going back to Trento. And registration in esse3 can not be cancelled anymore, so I guess I can come to exam to ask about normal usage of Hibernate for this project and to see if everything is ok what I&#8217;ve done. Moreover, I have still 4 days to improve the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=331&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8230;is tomorrow. And tomorrow I&#8217;m going back to Trento. And registration in esse3 can not be cancelled anymore, so I guess I can come to exam to ask about normal usage of Hibernate for this project and to see if everything is ok what I&#8217;ve done. Moreover, I have still 4 days to improve the situation.</p>
<p>What I have &#8211; knowledge, SQL database accessible from Eclipse using JDBC, somehow connected JSPs with servlets and big plans for future.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=331&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/08/deadline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JBOSS</title>
		<link>http://webarcnat.wordpress.com/2011/01/08/jboss/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/08/jboss/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 17:02:54 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=329</guid>
		<description><![CDATA[And again, I don&#8217;t like the behavior of my eclipse&#8230; Later I&#8217;ll update this post about Adventurous installation of JBOSS&#8230; Too many pictures to type from.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=329&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>And again, I don&#8217;t like the behavior of my eclipse&#8230; Later I&#8217;ll update this post about Adventurous installation of JBOSS&#8230; Too many pictures to type from.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/329/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/329/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/329/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=329&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/08/jboss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Database details</title>
		<link>http://webarcnat.wordpress.com/2011/01/07/database-details/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/07/database-details/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 15:34:43 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=327</guid>
		<description><![CDATA[A nice article about creating hierarchical databases&#8230; http://dev.mysql.com/tech-resources/articles/hierarchical-data.html I liked it so much. And created my own tables, with 525 beautiful words to use as an example for testing a web application. .<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=327&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A nice article about creating hierarchical databases&#8230;</p>
<p><a href="http://dev.mysql.com/tech-resources/articles/hierarchical-data.html">http://dev.mysql.com/tech-resources/articles/hierarchical-data.html</a></p>
<p>I liked it so much. And created my own tables, with 525 beautiful words to use as an example for testing a web application.</p>
<pre>.
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=327&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/07/database-details/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL and JDBC</title>
		<link>http://webarcnat.wordpress.com/2011/01/06/mysql-and-jdbc/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/06/mysql-and-jdbc/#comments</comments>
		<pubDate>Thu, 06 Jan 2011 17:01:05 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=324</guid>
		<description><![CDATA[Yes, I have chosen the database finally. And played with it a lot. It was not very funny, but I got a good experience. Downloaded MySQL: mysql-5.5.9-win32.msi from http://www.mysql.com/downloads/. Using advices from here and from here chosed &#8220;complete installiation&#8221; and server configuration: &#8220;typical&#8221;. Suddenly a problem during configuring: an error &#8220;Error Nr. 1364 Field ‘authentication_string’ [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=324&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, I have chosen the database finally. And played with it a lot. It was not very funny, but I got a good experience.</p>
<p>Downloaded MySQL: mysql-5.5.9-win32.msi from <a href="http://www.mysql.com/downloads/"><em>http://www.mysql.com/downloads/</em></a>.</p>
<p>Using advices from <a href="http://www.javahotchocolate.com/tutorials/jdbc.html">here</a> and from <a href="http://ucancode.wordpress.com/2010/07/05/configure-eclipse-to-use-apache-tomcat-and-mysql/">here</a> chosed &#8220;complete installiation&#8221; and server configuration: &#8220;typical&#8221;. Suddenly a problem during configuring: an error &#8220;Error Nr. 1364 Field ‘authentication_string’ doesn’t have a default value……make sure you have opened the TCP port 3306 for connections…&#8221;.</p>
<p>Solution: I turned off firewall and Avira, read about that at the <a href="http://forums.mysql.com/read.php?11,156915,178805#msg-178805">forum</a> &#8220;I&#8217;d been having the &#8220;Can&#8217;t connect to MySQL server on localhost (10061)&#8221; issue for a couple of days trying to read through the posts here an there on how people solved the issue. Nothing was working for me. Found out I needed to open the port on the windows firewall (Windows NT SP2). But still was having no luck; I opened the port. Still a problem&#8221;. An error still appears. Then I decided not to do everything from the beginning, but to go on, using already installed pieces:  Start-all programs-MySql – MySQL server &#8211; mysql instance configuration window. This time success.</p>
<p>Then I used command promt and played with databases, users and all that stuff I did 4 years ago&#8230;</p>
<p>By the way! :) What a wonderful phrase I found:</p>
<p><em>&#8220;The Windows command line command &#8220;net stop beep&#8221; will turn off the beeping, and &#8220;net start beep&#8221; will turn on the beeping.&#8221;</em></p>
<p>And it works!</p>
<p>&nbsp;</p>
<p>JDBC:</p>
<p>I started from the tutorial <a href="http://www.mastertheboss.com/hibernate/284-hibernate-jboss.html?start=1">http://www.mastertheboss.com/hibernate/284-hibernate-jboss.html?start=1</a> for JDBC. And had a lot of errors and problems. In Eclipse: window-Show  view-other-Hibernate-Hibernate configurations, open hierarchy by  clicking on the “plus”  in that window, and suddenly an error appeared:  &#8220;Error while opening console configuration. Reason:  org.hibernate.console.HibernateConsoleRuntimeException: Problems while  loading database driverclass (com.mysql.jdbc.Driver)&#8221;.</p>
<p>I found solution from <a href="http://www.sql.ru/forum/actualthread.aspx?tid=816094">here</a>,  downloaded mysql-connector-java-5.1.14.zip, unzipped, in Eclipse chose  Project/Properties/JavaBuildPath/Libraries/AddExternalJars , and then  chose mysql-connector-java-5.1.14-bin.jar</p>
<p>Now another error&#8230; Database in view &#8220;Hibernate Configurations&#8221; could not be expanded. Instead &#8220;Reading schema error: Getting database metadata&#8221; appeared.</p>
<p>Created new configuration… &#8220;Error while opening Database. The user must supply a JDBC connection&#8221; problem.</p>
<p>Did all steps again and carefully from the beginning according to mentioned tutorial, and suddenly I could expand database in Eclipse. Happiness.</p>
<p>Time to model my future application in more details&#8230;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/324/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=324&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/06/mysql-and-jdbc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>A book</title>
		<link>http://webarcnat.wordpress.com/2011/01/04/a-book/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/04/a-book/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 13:08:43 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=321</guid>
		<description><![CDATA[Such a pleasure to read it!! The J2EE Trademarked 1.4 Tutorial For Sun Java System Application Server Platform Edition 8.2 ( Eric Armstrong, Jennifer Ball, Stephanie Bodoff, Debbie Bode Carson, Ian Evans, Dale Green, Kim Haase, Eric Jendrock )<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=321&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Such a pleasure to read it!!</p>
<p><a href="http://download.oracle.com/javaee/1.4/tutorial/doc/">The J2EE Trademarked 1.4 Tutorial For Sun Java System Application Server Platform Edition 8.2 ( Eric Armstrong, Jennifer Ball, Stephanie Bodoff, Debbie Bode Carson, Ian Evans, Dale Green, Kim Haase, Eric Jendrock</a> )</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/321/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/321/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/321/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=321&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/04/a-book/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Choice</title>
		<link>http://webarcnat.wordpress.com/2011/01/03/choise/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/03/choise/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 16:00:57 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=317</guid>
		<description><![CDATA[There are really so many variants how to do the task&#8230; Can&#8217;t stop viewing and going deeper. Testing, getting mistakes, founding errors, testing again and creating. And turning back, to this blog &#8211; now I realize what really a great thing is having my own blog, where I can find everything I need to remind. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=317&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are really so many variants how to do the task&#8230; Can&#8217;t stop viewing and going deeper. Testing, getting mistakes, founding errors, testing again and creating. And turning back, to this blog &#8211; now I realize what really a great thing is having my own blog, where I can find everything I need to remind. Thank you, professor.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=317&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/03/choise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Internet at home&#8230;</title>
		<link>http://webarcnat.wordpress.com/2011/01/02/internet-at-home/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/02/internet-at-home/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 15:56:09 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=314</guid>
		<description><![CDATA[Because of low speed I started gathering all materials I use on a hard drive, so that it would not take too much time to open the page each time. Moreover, it is easier to paste screenshots in a .doc file than here. But I guess i will duplicate all retrieved information and put it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=314&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Because of low speed I started gathering all materials I use on a hard drive, so that it would not take too much time to open the page each time. Moreover, it is easier to paste screenshots in a .doc file than here. But I guess i will duplicate all retrieved information and put it here.</p>
<p>At the moment I am trying to make a composition of technologies mentioned earlier.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=314&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/02/internet-at-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>First steps</title>
		<link>http://webarcnat.wordpress.com/2011/01/01/first-steps/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/01/first-steps/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 19:40:51 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=309</guid>
		<description><![CDATA[Starting form scratch, but remembering some tips from before (such as setting classpath, project build path, installing things etc), I&#8217;ll finally work directly on my project, as exam is on 12.01, and project deadline &#8211; on the 9th relatively. *1) I have Eclipse Helios: Eclipse IDE for Java Developers Version: Helios Service Release 1 Build [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=309&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Starting form scratch, but remembering some tips from before (such as setting classpath, project build path, installing things etc), I&#8217;ll finally work directly on my project, as exam is on 12.01, and project deadline &#8211; on the 9th relatively.</p>
<p>*1) I have Eclipse Helios:</p>
<p>Eclipse IDE for Java Developers<br />
Version: Helios Service Release 1<br />
Build id: 20100917-0705</p>
<p>*2) I have istalled JBOSS tools in Eclipse.</p>
<p>What do I want to do.</p>
<p>A website, where people can view information and leave some comments about it.</p>
<p>(1) Let&#8217;s say, information about people&#8217;s characters.</p>
<p>The first part &#8211; negative character traits, the second part &#8211; positive ones.</p>
<p>Then a visitor can choose the most engaging quality  of character from the presented list and to read about it.</p>
<p>(2) Possible to write a comment for this quality.</p>
<p>(3) A possibility of reading other comments.</p>
<p>(4) A possibility to send a message to other visitors</p>
<p>(5) Chance to do a test about each quality.</p>
<p>(6) Chance to  a general test.</p>
<p>(7) Gathering statistics about tests.</p>
<p>(8) Viewing statistics about tests.</p>
<p>(9) Gathering statistics about visitors.</p>
<p>(10) Viewing statistics about visitors.</p>
<p>(11) VIP-person entrance (but no registration)</p>
<p>(12) Opportunity to change text about each quality.</p>
<p>(13) Opportunity to control media related to each quality.</p>
<p>(14) Opportunity to delete or add new qualities in the list.</p>
<p>(15) Contacts page.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/309/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=309&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/01/first-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Short project task</title>
		<link>http://webarcnat.wordpress.com/2011/01/01/shor-project-task/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/01/shor-project-task/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 15:56:58 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=272</guid>
		<description><![CDATA[So there should be: 1) web tier (implemented using JEE technology), this means any of these technologies can be used 2) business logic tier (implemented using EjB, composed by both stateless and stateful beans) &#8211; using Enterprise JavaBeans 3) persistency tier (implemented with a database and accessed through a persistency layer, which must be implemented [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=272&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So there should be:</p>
<p>1) <strong>web tier</strong> (implemented using JEE technology), this means <a href="http://www.oracle.com/technetwork/java/javaee/tech/index.html">any of these technologies</a> can be used</p>
<p>2) <strong>business logic tier</strong> (implemented using EjB, composed by both stateless and stateful beans) &#8211; using Enterprise JavaBeans</p>
<p>3)<strong> persistency tier</strong> (implemented with a database and accessed through a persistency layer, which must be implemented using Hibernate).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/272/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/272/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/272/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=272&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/01/shor-project-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Transactions</title>
		<link>http://webarcnat.wordpress.com/2011/01/01/transactions/</link>
		<comments>http://webarcnat.wordpress.com/2011/01/01/transactions/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 14:56:41 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=270</guid>
		<description><![CDATA[The last lecture slides, and the book from which examples were taken. While running Bank example a problem with database occured.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=270&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Transactions_10.pdf">The last lecture slides</a>, and<a href="http://java.sun.com/developer/Books/ProEJB/ch9.pdf"> the book</a> from which examples were taken. While running Bank example a problem with database occured.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=270&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2011/01/01/transactions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>GWT</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/gwt/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/gwt/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 22:14:47 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=290</guid>
		<description><![CDATA[Google’s Web Toolkit The idea: write java and transform it into Javascript. Debug in “hosted mode”. If your GWT application compiles and runs in hosted mode as you expect, and GWT compiles your application into JavaScript output without complaint, then your application will work the same way in a web browser as it did in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=290&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Google’s Web Toolkit</strong></p>
<p>The idea: write java and transform it into Javascript. Debug in  “hosted mode”. If your GWT application compiles and runs in hosted mode  as you expect, and GWT compiles your application into JavaScript output  without complaint, then your application will work the same way in a web  browser as it did in hosted mode.</p>
<p>References: <a href="http://code.google.com/webtoolkit/" target="_parent">Webtoolkit</a> ; <a href="http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.UserInterface.WidgetGallery.html" target="_parent">List of the widgets</a> ; <a href="http://gwt.google.com/samples/Showcase/Showcase.html">Demo of the widgets</a> ; two other links for demos of the widgets are no more accessable (page not found)</p>
<p><strong>Google Web Toolkit – cross browser</strong><strong> </strong></p>
<p>GWT shields you from worrying too much about cross-browser incompatibilities.</p>
<p>If you stick to built-in <a href="http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.UserInterface.WidgetsAndPanels.html" target="_parent">widgets</a> and <a href="http://code.google.com/webtoolkit/documentation/com.google.gwt.doc.DeveloperGuide.UserInterface.CreatingCustomWidgets.html" target="_parent">composites</a>,  your applications will work similarly on the most recent versions of  Internet Explorer, Firefox, and Safari (Opera too, most of the time).</p>
<p><a href="http://code.google.com/webtoolkit/documentation/" target="_parent">About Google Web Toolkit</a></p>
<p><strong> </strong><a href="http://code.google.com/intl/it-IT/webtoolkit/overview.html">Google Web Toolkit Overview</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/290/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/290/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/290/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=290&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/gwt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Java FX Script</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/java-fx-script/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/java-fx-script/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 21:33:55 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=288</guid>
		<description><![CDATA[Does JavaFX Spell The End Of AJAX and all the Web 2.0?.. E.g. 174 Web 2.0 Sites in 41 Categories … and human computing: here is video.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=288&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Does JavaFX Spell The End Of AJAX and all the Web 2.0?..</p>
<p>E.g. <a href="http://www.seomoz.org/web2.0">174 Web 2.0 Sites in 41 Categories</a></p>
<p>… and human computing: <a href="http://video.google.co.uk/videoplay?docid=-8246463980976635143">here is video.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=288&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/java-fx-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>AJAX</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/ajax/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/ajax/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 17:16:34 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=212</guid>
		<description><![CDATA[AJAX (Asynchronous Javascript and XML) and RIA (Rich Internet Applications) transactions &#8211; in the lecture 18 slides Some of the slides are based on material adapted from here and here. Some links in lecture are old. The new web &#8211; Examples: demo;  http://demos.openrico.org/ ; school schedule. More complete  example &#8211; A Simpler Ajax Path Survey [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=212&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>AJAX (<em>Asynchronous Javascript and XML</em>) and RIA (<em>Rich Internet Applications</em>) transactions &#8211; in the lecture 18 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/ajax10.pdf">slides</a> Some of the slides are based on material adapted <a href="www.telerik.com/documents/Telerik_and_AJAX.pdf">from here </a>and <a href="http://www.adaptivepath.com/publications/essays/archives/000385.php">here</a>. Some links in lecture are old.</p>
<p>The new web &#8211; Examples: <a href="http://demo.script.aculo.us/">demo</a>;  <a href="http://demos.openrico.org/">http://demos.openrico.org/</a> ; <a href="http://code.google.com/webtoolkit/documentation/examples/dynamictable/demo.html" target="_parent">school schedule</a>.<br />
More complete  example &#8211; <a href="http://www.onlamp.com/pub/a/onlamp/2005/05/19/xmlhttprequest.html">A Simpler Ajax Path </a></p>
<p><a href="http://wiki.osafoundation.org/bin/view/Projects/AjaxLibraries" target="_parent">Survey of AJAX/JavaScript Libraries</a><br />
<a href="http://www.sencha.com/products/js/">Ext JS Cross-Browser Rich Internet Application Framework</a><br />
<a href="http://www.javalobby.org/articles/ajax-ria-overview/">Rich Internet Applications and AJAX &#8211; Selecting the best product</a></p>
<p>Papers about Ajax and architectural description:<br />
<a href="http://www-128.ibm.com/developerworks/java/library/wa-ajaxintro1.html">Mastering Ajax, Part 1: Introduction to Ajax</a><br />
<a href="http://www-128.ibm.com/developerworks/java/library/j-ajax2/index.html">Ajax for Java developers: Java object serialization for Ajax</a><br />
<a href="http://www-128.ibm.com/developerworks/java/library/j-ajax3/index.html">Ajax for Java developers: Ajax with Direct Web Remoting</a><br />
<a href="http://www-128.ibm.com/developerworks/java/library/j-ajax1/index.html">Ajax for Java developers: Build dynamic Java applications</a><br />
- all if them are really interesting and have good examples.<br />
<a href="http://www.maxkiesler.com/index.php/weblog/comments/60_more_helpful_ajax_tutorials/"></a></p>
<p><a href="http://www.maxkiesler.com/index.php/weblog/comments/60_more_helpful_ajax_tutorials/">60 More AJAX Tutorials</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/212/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/212/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/212/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=212&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/ajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JSF</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/jsf/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/jsf/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 16:16:29 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=211</guid>
		<description><![CDATA[Java Server Faces &#8211; tutorial &#8220;An Introduction to JavaServer Faces 1.x with Apache MyFaces Extensions&#8220;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=211&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Java Server Faces &#8211; <a href="http://www.coreservlets.com/JSF-Tutorial/jsf1/">tutorial &#8220;</a><a href="http://www.coreservlets.com/JSF-Tutorial/jsf1/">An Introduction to JavaServer Faces 1.x with Apache MyFaces Extensions</a><a href="http://www.coreservlets.com/JSF-Tutorial/jsf1/">&#8220;</a><strong><a href="http://www.coreservlets.com/JSF-Tutorial/jsf1/">.<br />
</a></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=211&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/jsf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Entities</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/entities/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/entities/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 13:35:05 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=208</guid>
		<description><![CDATA[From the lecture 16 slides: Entities have a client-visible, persistent identity (the primary key) that is distinct from their object reference. Entities have persistent, client-visible state. Entities are not remotely accessible. An entity’s lifetime may be completely independent of an application’s lifetime. Entities can be used in both Java EE and J2SE environments Examples from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=208&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From the lecture 16 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Entities-10.pdf">slides</a>:</p>
<ul>
<li>Entities have a client-visible, persistent <em>identity </em>(the primary key) that is distinct from their object reference.</li>
<li>Entities have persistent, client-visible <em>state</em>.</li>
<li>Entities are <em>not remotely accessible</em>.</li>
<li>An entity’s <em>lifetime </em>may be completely independent of an application’s lifetime.</li>
<li>Entities can be used in both Java EE and J2SE environments</li>
</ul>
<p>Examples from the lecture: problem with import javax.persistence.Entity.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/208/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/208/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/208/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=208&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/entities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JNDI</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/jndi/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/jndi/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 10:13:02 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=202</guid>
		<description><![CDATA[From lecture 15 slides links were given: 1) The JNDI Tutorial ; 2) The JNDI homepage has a list of service providers.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=202&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong></strong>From lecture 15<a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/JNDI.pdf"> slides</a> links were given:</p>
<p>1) <a href="http://java.sun.com/products/jndi/tutorial/trailmap.html">The JNDI Tutorial</a> ;</p>
<p>2) <a href="http://java.sun.com/products/jndi">The JNDI homepage</a> has a list of service providers.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=202&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/jndi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Hibernate</title>
		<link>http://webarcnat.wordpress.com/2010/12/31/hibernate/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/31/hibernate/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 08:11:03 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=207</guid>
		<description><![CDATA[Hibernate is an object-relational mapping (ORM) library for Java. A task from the lecture slides about following some tutorials (Hibernate tutorial and Hibernate in Eclipse) is not valid as these links are already too old and broken. Instead, I followed the next tutorials: 1) onjava.com 2) hibernate example on eclipse and oracle 3) starting out [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=207&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hibernate is an object-relational mapping (ORM) library for Java.</p>
<p>A task from the lecture slides about following some tutorials (<a href="http://www.hibernate.org/hib_docs/reference/en/html/tutorial.html">Hibernate        tutorial</a> and <a href="http://www.laliluna.de/first-hibernate-example-tutorial.html">Hibernate in Eclipse</a>) is not valid as these links are already too old and broken.</p>
<p>Instead, I followed the next tutorials:</p>
<p class="MsoNormal">1) <a href="http://onjava.com/pub/a/onjava/2004/06/23/hibernate.html?page=1">onjava.com</a></p>
<p class="MsoNormal">2) <a href="http://www.myhomepageindia.com/index.php/2009/03/14/hibernate-example-on-eclipse-and-oracle.html">hibernate example on eclipse and oracle</a></p>
<p class="MsoNormal">3) <a href="http://thoughtforge.net/2010/01/21/starting-out-with-spring-and-hibernate-jpa/">starting out with spring and hibernate jpa</a></p>
<p>I liked: <a href="http://www.roseindia.net/hibernate/HIbernateGettingStarted.shtml&lt;/p&gt; &lt;p&gt;">Hibernate Getting Started</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=207&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/31/hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JSTL</title>
		<link>http://webarcnat.wordpress.com/2010/12/30/jstl/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/30/jstl/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 18:10:41 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=200</guid>
		<description><![CDATA[From the lecture 12 a set of links about JavaServer Pages Standard Tag Library: The Java EE 5 Tutorial JSTL &#8211; xml JSTL &#8211; sql JSTL &#8211; functional tags JSTL fmt JSTL by Apache Open Source JSP Tag Libraries by JavaSource.net<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=200&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From the lecture 12 a set of links about JavaServer Pages Standard Tag Library:</p>
<p><a href="http://download.oracle.com/javaee/5/tutorial/doc/bnakh.html">The Java EE 5 Tutorial</a><br />
<a href="http://download.oracle.com/javaee/5/tutorial/doc/bnakq.html"> JSTL &#8211; xml</a><br />
<a href="http://download.oracle.com/javaee/5/tutorial/doc/bnald.html">JSTL &#8211; sql</a><br />
<a href="http://download.oracle.com/javaee/5/tutorial/doc/bnalg.html">JSTL &#8211; functional tags</a><br />
<a href="http://download.oracle.com/javaee/5/tutorial/doc/bnakw.html">JSTL fmt </a><br />
<a href="http://jakarta.apache.org/taglibs/doc/standard-doc/intro.html">JSTL by Apache</a><br />
<a href="http://java-source.net/open-source/jsp-tag-libraries">Open Source JSP Tag Libraries by JavaSource.net</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=200&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/30/jstl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Beans in JSP</title>
		<link>http://webarcnat.wordpress.com/2010/12/30/beans-in-jsp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/30/beans-in-jsp/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 14:44:50 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=197</guid>
		<description><![CDATA[In the lecture 10 slides: Beans in JSP JSP Expression Language MVC with Servlets and JSP &#8211; here is an example the Bank Balance lookup (slide 30-42)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=197&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the lecture 10 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/AdvancedJSP.pdf">slides:</a></p>
<p><a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/13-JavaBeans.pdf">Beans in JSP </a><br />
<a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/15-Expression-Language.pdf">JSP Expression Language</a></p>
<p><a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/14-MVC.pdf">MVC with Servlets and JSP</a> &#8211; here is an example the Bank Balance lookup (slide 30-42)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/197/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/197/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/197/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=197&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/30/beans-in-jsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>EJB</title>
		<link>http://webarcnat.wordpress.com/2010/12/30/ejb/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/30/ejb/#comments</comments>
		<pubDate>Thu, 30 Dec 2010 10:09:54 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=198</guid>
		<description><![CDATA[Lecture 13-14 &#8211; EJB (stateless beans) slides The same thing with quotes. Useful link from the lecture: Introduction To Enterprise Java Bean(EJB) Problem: Even having JBOSS installed, there is no option in eclipse to choose creating new session bean. Solution: with help of this tutorial I understood my problem and installed JBoss Application Server (jboss-as-distribution-6.0.0.Final.zip). [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=198&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lecture 13-14 &#8211; EJB (stateless beans)<a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/IntroductionToSessionBeans.pdf"> slides</a></p>
<p>The same thing with quotes.<br />
Useful link from the lecture: <a href="http://www.roseindia.net/javabeans/javabeans.shtml">Introduction To Enterprise Java Bean(EJB)</a><br />
Problem: Even having JBOSS installed, there is no option in eclipse to choose creating new session bean. Solution: with help of <a href="http://docs.jboss.org/jbosside/tutorial/build/en/html/the.ejb.html">this tutorial</a> I understood my problem and installed JBoss Application Server (<a href="http://sourceforge.net/projects/jboss/files/JBoss/JBoss-6.0.0.Final/jboss-as-distribution-6.0.0.Final.zip/download">jboss-as-distribution-6.0.0.Final.zip</a>). Before I had<a href="http://docs.jboss.org/jbpm/v4/userguide/html_single/"> JBPM</a> but also not installed correctly.</p>
<p>Lecture 17 &#8211; Enterprise JavaBeans Patterns <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/EJBPatterns.pdf">slides</a>.</p>
<p>EJB patterns can be found here: <a href="http://java.sun.com/blueprints/corej2eepatterns/Patterns/">J2EE Patterns</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=198&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/30/ejb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Applets</title>
		<link>http://webarcnat.wordpress.com/2010/12/28/applets/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/28/applets/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 15:20:27 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=191</guid>
		<description><![CDATA[From the lecture 9 slides link: Server-side JavaScript. Example provided in the lecture requires netscape package. 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. Standard ECMA-262 ECMAScript Language Specification Books: D.Flanagan  “Javascript. The definitive guide” O’Reilly. D.Goodman “Dynamic HTML. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=191&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From the lecture 9 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/ECMA-10.ppt">slides</a> link: <a href="http://en.wikipedia.org/wiki/Server-side_JavaScript" target="_parent">Server-side JavaScript</a>. Example provided in the lecture requires netscape package.</p>
<p><strong> </strong></p>
<p><strong><a href="http://www.mozilla.org/rhino/">Rhino</a></strong> is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.</p>
<p><strong> </strong></p>
<p><a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">Standard ECMA-262 ECMAScript Language Specification</a></p>
<p><strong>Books:</strong></p>
<ul>
<li><a href="http://www.abaco.edu.pe/biblioteca/manuales/Programacion%20Web/JavaScript/JavaScript%20The%20Definitive%20Guide.pdf">D.Flanagan  “Javascript. The definitive guide” O’Reilly</a>.</li>
<li><a href="http://www.e-reading.org.ua/htmbook.php/orelly/webprog/dhtml/">D.Goodman “Dynamic HTML. The definitive reference” O’Reilly</a></li>
</ul>
<p><strong>LiveConnect -</strong> a two-faced technology to let JavaScript interact with Java, so that:</p>
<ul>
<li>A JavaScript script can control and coordinate Java applets, and let Java applets interact with plugins.</li>
<li>A Java Applet can execute JavaScript code.</li>
</ul>
<p><a href="https://developer.mozilla.org/en/JavaScript/Guide/LiveConnect_Overview">LiveConnect Overview</a><br />
<a href="http://download.oracle.com/javase/1.4.2/docs/guide/plugin/developer_guide/java_js.html">Java-to-Javascript Communication</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=191&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/28/applets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Servlets from lecture</title>
		<link>http://webarcnat.wordpress.com/2010/12/26/servlets-from-lectures/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/26/servlets-from-lectures/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 12:12:52 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=186</guid>
		<description><![CDATA[Continuing working with servlets&#8230; The example SimpleServlet from lecture 6 was tested successfully. This WTP Tutorial has useful information also. According to the lecture slides then Dispatching, monitoring, filtering Dispatching example &#8211; there was need to change a bit the program. So the code of FirstServlet is: import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=186&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Continuing working with servlets&#8230;<br />
The example SimpleServlet from lecture 6 was tested successfully.</p>
<p><a href="http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html">This  WTP Tutorial</a> has useful information also.</p>
<p>According to the lecture slides then</p>
<p><strong>Dispatching, monitoring, filtering</strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p>Dispatching example &#8211; there was need to change a bit the program. So the code of FirstServlet is:</p>
<pre>import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.RequestDispatcher;

 public class FirstServlet extends HttpServlet  {
public void doGet(HttpServletRequest req,HttpServletResponse res) throws IOException,ServletException {
 PrintWriter out=res.getWriter();
 out.print("First Servlet Called");
 ServletConfig config = getServletConfig();
 ServletContext cntx = config.getServletContext();
 RequestDispatcher dispatch =   
 cntx.getRequestDispatcher("/SecondServlet");
 dispatch.forward(req,res);
}
}</pre>
<p>And the second servlet:</p>
<pre>import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.sun.org.apache.xml.internal.serialize.Printer;
 public class SecondServlet extends HttpServlet  {
 public void doGet(HttpServletRequest req,HttpServletResponse res)  
 throws IOException,ServletException {
 PrintWriter out=res.getWriter();
 System.out.println("Second Servlet Called");
 }
}</pre>
<p>When the server was restarted, while calling http://localhost:8080/servletsinlecture/FirstServlet the output &#8220;Second Servlet Called&#8221; in Console view appears. So it works.</p>
<p><strong>Monitoring</strong></p>
<p>I didn&#8217;t actually get example from the lecture 12 (<a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Filters-JSTL10.pdf"> slides</a>), but this topic is easy.</p>
<p>This example is from a <a href="http://docstore.mik.ua/orelly/java-ent/servlet/ch03_01.htm"> nice tutorial</a>:</p>
<pre>import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class SimpleCounter extends HttpServlet {

int count = 0;

public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/plain");
PrintWriter out = res.getWriter();
count++;
out.println("Since loading, this servlet has been accessed " +
count + " times.");
}
}</pre>
<p>And it perfectly works.</p>
<p><strong>Filtering </strong></p>
<p>A link (lecture 12 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Filters-JSTL10.pdf"> slides</a> )<a href="http://java.sun.com/products/servlet/Filters.html"> is old </a>for filters in the lecture. And there are many errors in example (such as mistyping req instead of request as parameter&#8217;s name was given first time and so on), and there is no full example, such a pity. Only the main idea was indicated. However <a href="http://viralpatel.net/blogs/2009/01/tutorial-java-servlet-filter-example-using-eclipse-apache-tomcat.html">this example</a> is perfect. Checked.</p>
<p><strong>Tag Extension</strong></p>
<p><a href="http://tutorials.beginners.co.uk/java-server-programming-tag-extensions-part-3-writing-tag-extensions.htm">This tutorial </a>is good</p>
<p><strong>JSP</strong></p>
<p>The next links were provided in the lecture 12 slides:<br />
<a href="http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html">Tag Libraries Tutorial</a> ;<a href="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro.html"> Java Server Page Tutorial</a>.</p>
<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--> <!--[if gte mso 10]&gt; &lt;! /* Style Definitions */ table.MsoNormalTable {mso-style-name:&quot;Обычная таблица&quot;; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:&quot;&quot;; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:&quot;Times New Roman&quot;; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} --> <!--[endif]--><strong><span style="font-size:20pt;font-family:&quot;" lang="EN-US"> </span></strong><strong>Forms</strong></p>
<p>Tested from lecture number 6 slides: in the servlet example ShowParameters one missed comma and one wrong pair of  _&#8221;_ were found. Example also works good, if manually set parameters in the browser. The expanded version of examples can be found <a href="http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Form-Data.html">here</a>.</p>
<p>Sending data from html file to servlet works correctly.</p>
<p>Color changer example works in IE with a warning about security.</p>
<p>In &#8220;Scrivi li tuo nome&#8221; form example few wrong pairs of _&#8221;_ were found. The next three examples are fine.</p>
<p><a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/03-Form-Data.pdf">This is</a> a recommended link from the lecture is about reading parameters, <a href="http://www.cs.tut.fi/~jkorpela/forms/">this one</a> was also recommended.<br />
<a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/04-Request-Headers.pdf">This one</a> is an example of a choice based on the HTTP header.</p>
<p><strong>Mimetypes</strong></p>
<p>Examples are in <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/06-Response-Headers.pdf">courses.coreservlets(pdf)</a>, as provided in the lecture slides.<br />
- How to generate an excel sheet<br />
- How to generate a jpeg on the flight</p>
<p><strong>Sessions</strong></p>
<p>An example in the lecture 12 slides ShowSession is clear and quite accurate, I start thinking that some program (maybe Word) just automatically changes &#8221; to the wrong symbol in a special place, and somehow replaces double brackets &#8220;))&#8221; to one &#8220;)&#8221;. But maybe not and those symbols are omitted with a special purpose from the origin.</p>
<p>These are useful links for studying about it:<br />
<a href="http://docstore.mik.ua/orelly/java-ent/servlet/ch07_01.htm">Java Servlet Programming book</a><br />
<a href="http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/Servlet-Tutorial-Session-Tracking.html">Servlet Tutorial Session Tracking</a></p>
<p><strong>Cookies:</strong></p>
<p>A link from the lecture 12: <a href="http://www.purpletech.com/code/src/com/purpletech/servlets/CookieDetector.java">code to check</a> if the client accepts cookies. In example SetCookies directly in the slides again a couple of &#8221; was wrong and one round bracket lost. In ShowCookies absolutely the same mistypes were found. Example is workable and gives nice pictures and tables with cookies.</p>
<p>I found a nice website with accurate and clear examples:</p>
<ul type="disc">
<li>Servlet
<ul>
<li><a href="http://www.rgagnon.com/javadetails/java-0357.html">Get servlet parameters</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0341.html">Servlet with no args</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0358.html">Set a Cookie from a servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0359.html">Read a Cookie from a servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0360.html">Delete a Cookie from a servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0342.html">Ask a password from a Servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0082.html">Talk to a Servlet/JSP from an Applet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0374.html">Test for Cookies support</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0378.html">Display ResultSet data in an HTML Table in Servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0387.html">Specify the filename to be used for a file sent by a Servlet</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0401.html">Pass information to another servlet/jsp</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0404.html">Handle PDF output</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0415.html">Detect if a connection is secured</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0443.html">In a Servlet, check if Form Field is present</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0519.html">Get the root dir of a web app</a></li>
</ul>
</li>
<li>JSP
<ul>
<li><a href="http://www.rgagnon.com/javadetails/java-0363.html">Get Client IP from JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0366.html">Binary output from a JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0380.html">Use a connection cache from JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0381.html">Read a web application property</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0396.html">Use EJB from JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0410.html">Define a method in a JSP page</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0414.html">Precompile JSP page</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0417.html">Get a list of directories from JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0508.html">Use and share a class in JSP pages</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0519.html">Get the root dir of a web app</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0534.html">Launch an applet from a JSP</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0590.html">Prevent caching of a JSP output</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0648.html">Launch an external program, capture its output and display it in a JSP</a></li>
</ul>
</li>
<li>EJB
<ul>
<li><a href="http://www.rgagnon.com/javadetails/java-0384.html">Call another EJB</a></li>
</ul>
</li>
<li>BEA WLS
<ul>
<li><a href="http://www.rgagnon.com/javadetails/java-0446.html">Keep java files generated from JSP (BEA WLS)</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0447.html">Get the server version (BEA WLS)</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0449.html">Quickly create a Web application with BEA WLS</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0451.html">Nicely display WEB.XML informations</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0551.html">Reverse the CLASSLOADER order (BEA)</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0562.html">Detect change in JSP and recompile (BEA)</a></li>
<li><a href="http://www.rgagnon.com/javadetails/java-0664.html">Obtain a remote connection to a DataSource or EJB (Weblogic)</a></li>
</ul>
<p><strong>Java beans: </strong> <a href="http://java.sun.com/blueprints/qanda/web_tier/index.html#comments">Questions and Answers &#8211; Web Tier</a> &#8211; from the lecture link. Another one: <a href="http://java.sun.com/developer/onlineTraining/Beans/JBeansAPI/shortcourse.html">Introduction to the JavaBeans</a> API: Short Course</li>
</ul>
<div id="_mcePaste" class="mcePaste" style="position:absolute;left:-10000px;top:1524px;width:1px;height:1px;overflow:hidden;"><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} @page Section1 	{size:612.0pt 792.0pt; 	margin:2.0cm 42.5pt 2.0cm 3.0cm; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Обычная таблица&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--><span style="font-size:12pt;font-family:&quot;" lang="EN-US"><a href="http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html">http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html</a></span></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=186&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/26/servlets-from-lectures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>RMI</title>
		<link>http://webarcnat.wordpress.com/2010/12/25/rmi-2/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/25/rmi-2/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 20:02:10 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=184</guid>
		<description><![CDATA[Lecture 11 slides I followed the next tutorials: Hello World for RMI in Java 6 The RMI trail in the Java Tutorial<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=184&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lecture 11<a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/RMI10.pdf"> slides</a></p>
<p>I followed the next tutorials:</p>
<ul>
<li><a href="http://java.sun.com/javase/6/docs/technotes/guides/rmi/hello/hello-world.html">Hello World for RMI in Java 6 </a></li>
<li><a href="http://java.sun.com/docs/books/tutorial/rmi/index.html">The RMI trail in the Java      Tutorial</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/184/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/184/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/184/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=184&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/25/rmi-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>ECMAScript</title>
		<link>http://webarcnat.wordpress.com/2010/12/25/jsp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/25/jsp/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 09:16:25 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=182</guid>
		<description><![CDATA[Plenty of links for JavaScript, ECMAScript, AJAX Scripting with ECMAScript<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=182&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Plenty of links for <a href="http://websitetips.com/javascript/">JavaScript, ECMAScript, AJAX</a><br />
<a href="http://xmlgraphics.apache.org/batik/using/scripting/ecmascript.html">Scripting with ECMAScript</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=182&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/25/jsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Digital Signatures</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/xml-digital-signatures/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/xml-digital-signatures/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 21:05:43 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=171</guid>
		<description><![CDATA[There is a chapter this book dedicated to XML Digital Signatures.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=171&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a chapter <a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/">this book</a> dedicated to XML Digital Signatures.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=171&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/xml-digital-signatures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XWSS</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/xwss/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/xwss/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 20:13:41 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=164</guid>
		<description><![CDATA[XWSS = XML Web Services Security. In this book there is a chapter about Securing Web Services.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=164&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XWSS = XML Web Services Security.</p>
<p><a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/">In this book</a> there is a chapter about Securing Web Services.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/164/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/164/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/164/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=164&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/xwss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>SAAJ</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/saaj/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/saaj/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 20:04:38 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=163</guid>
		<description><![CDATA[SAAJ = SOAP with Attachments API for Java. This book is really helpful to understand the principles. The two main types of SOAP messages are those that have attachments and those that do not. The SAAJ APIs extend their counterparts in the org.w3c.dom package: The Node interface extends the org.w3c.dom.Node interface. The SOAPElement interface extends [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=163&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SAAJ = SOAP with Attachments API for Java.</p>
<p><a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/">This book</a> is really helpful to understand the principles.</p>
<p>The two main types of SOAP messages are those that have attachments and those that do not.</p>
<p>The SAAJ APIs extend their counterparts in the org.w3c.dom package:</p>
<div>
<ul>
<div>
<li>The Node interface extends the org.w3c.dom.Node interface.</li>
</div>
<div>
<li>The SOAPElement interface extends both the Node interface and the org.w3c.dom.Element interface.</li>
</div>
<div>
<li>The SOAPPart class implements the org.w3c.dom.Document interface.</li>
</div>
<div>
<li>The Text interface extends the org.w3c.dom.Text interface.</li>
</div>
</ul>
</div>
<p>Moreover, the SOAPPart of a SOAPMessage is also a DOM Level 2 Document and can be manipulated as such by applications, tools, and libraries  that use DOM. For details on how to use DOM documents with the SAAJ API,  see <a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/SAAJ3.html#wp64119">Adding Content to the SOAPPart Object</a> and <a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/SAAJ3.html#wp78963">Adding a Document to the SOAP Body</a>.</p>
<p>The examples are fully presented in the book.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=163&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/saaj/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAX-RPC</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/jax-rpc/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/jax-rpc/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:54:34 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=162</guid>
		<description><![CDATA[A good presentation with examples. Axis is mentioned. I have already downloaded and used Axis in October for SOAA subject hometasks. JAX-RPC = Java API for XML-Based RPC: •WSDL/XML to Java Mapping •Java to WSDL/XML Mapping •SOAP Message with Attachments •Client API –Classes generated from WSDL –Dynamic Proxy –DII call Interface •SOAP Message Handler •Extensible [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=162&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A<a href="http://www.pankaj-k.net/axis4tag/WSWithJAXRPCAndAxis.ppt"> good presentation</a> with examples. Axis is mentioned. I have already downloaded and used Axis in October for SOAA subject hometasks.</p>
<p>JAX-RPC = Java API for XML-Based RPC:</p>
<div>
<div>•WSDL/XML to Java Mapping</div>
<div>•Java to WSDL/XML Mapping</div>
<div>•SOAP Message with Attachments</div>
<div>•Client API</div>
<div>–Classes generated from WSDL</div>
<div>–Dynamic Proxy</div>
<div>–DII call Interface</div>
<div>•SOAP Message Handler</div>
<div>•Extensible Type Mapping</div>
</div>
<div>
<p><!--[if !mso]&gt; &lt;!  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} --> <!--[endif]-->References from those slides:<!--[if !ppt]--><!-- .O 	{color:black; 	font-size:149%;} a:link 	{color:#FF78FF !important;} a:active 	{color:#40FF40 !important;} a:visited 	{color:#FFE193 !important;} --><!-- .sld 	{left:0px !important; 	width:6.0in !important; 	height:4.5in !important; 	font-size:103% !important;} --><!--[endif]--></p>
<div>
<div>•Apache Axis Home: <a href="http://xml.apache.org/axis" target="_parent">http://xml.apache.org/axis</a></div>
<div>•Sun’s Web Services Developer Pack Home: <a href="http://java.sun.com/webservices/webservicespack.html" target="_parent">http://java.sun.com/webservices/webservicespack.html</a></div>
<div>•W3C’s Web Services Activity Home Page: <a href="http://www.w3.org/2002/ws/" target="_parent">http://www.w3.org/2002/ws/</a></div>
<div>•My Home Page: <a href="http://www.pankaj-k.net/" target="_parent">http://www.pankaj-k.net</a></div>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=162&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/jax-rpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAXM</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/jaxm/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/jaxm/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:49:04 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=166</guid>
		<description><![CDATA[JAXM = Java API for XML Messaging. Here a description of this technology can be read. There are also examples. The Web Services Messaging with JAXM (JAXM) provides a standard way to send XML documents over the Internet from the Java platform. It is based on the SOAP 1.1 and SOAP with Attachments specifications, which [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=166&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>JAXM = Java API for XML Messaging.<br />
<a href="http://download.oracle.com/javaee/1.3/tutorial/doc/IntroWS6.html">Here </a>a description of this technology can be read. There are also examples.</p>
<p>The Web Services Messaging with JAXM  (JAXM) provides a standard way to send XML documents over the Internet from the Java platform. It is based on the SOAP 1.1 and SOAP with Attachments specifications, which define a basic framework for exchanging XML messages. JAXM can be extended to work with higher level messaging protocols, such as the one defined in the ebXML (electronic business XML) Message Service Specification, by adding the protocol&#8217;s functionality on top of SOAP.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/166/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/166/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/166/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=166&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/jaxm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAXR</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/jaxr/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/jaxr/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:43:31 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=161</guid>
		<description><![CDATA[JAXR = Java API for XML Registries, it provides a uniform and standard Java API for accessing various kinds of XML registries. This book is really helpful to understand the principles. An XML registry is an infrastructure that enables the building, deployment, and discovery of web services. It is a neutral third party that facilitates [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=161&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>JAXR = Java API for XML Registries, it provides a uniform and standard Java API for accessing various kinds of XML registries.</p>
<p><a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/">This book</a> is really helpful to understand the principles.</p>
<p>An XML <em>registry</em> is an infrastructure that  enables the building, deployment, and discovery of web services. It is a  neutral third party that facilitates dynamic and loosely coupled  business-to-business (B2B) interactions. A registry is available to  organizations as a shared resource, often in the form of a web-based  service.</p>
<p><a name="wp65200"> </a></p>
<p>Currently there are a variety of specifications for XML registries. These include</p>
<div>
<ul><a name="wp65201"> </a></p>
<div>
<li>The ebXML Registry  and Repository standard, which is sponsored by the Organization for the  Advancement of Structured Information Standards (OASIS) and the United  Nations Centre for the Facilitation of Procedures and Practices in  Administration, Commerce and Transport (U.N./CEFACT)</li>
</div>
<p><a name="wp88079"> </a></p>
<div>
<li>The Universal Description, Discovery, and Integration (UDDI) project, which is being developed by a vendor consortium</li>
</div>
</ul>
</div>
<p><a name="wp88080"> </a></p>
<p>A <em>registry provider</em> is an implementation of a business registry that conforms to a specification for XML registries.</p>
<p>JAXR enables Java software programmers to use a single, easy-to-use  abstraction API to access a variety of XML registries. A unified JAXR  information model describes content and metadata within XML registries.</p>
<p><a name="wp65213"> </a></p>
<p>JAXR gives developers the ability to write registry client programs that  are portable across various target registries. JAXR also enables  value-added capabilities beyond those of the underlying registries.</p>
<p>The high-level <strong>architecture</strong> of JAXR consists of the following parts:</p>
<div>
<ul><a name="wp65523"> </a></p>
<div>
<li><em>A </em><em>JAXR client</em>: This is a client program that uses the JAXR API to access a business registry via a JAXR provider.</li>
</div>
<p><a name="wp65535"> </a></p>
<div>
<li><em>A </em><em>JAXR provider</em>:  This is an implementation of the JAXR API that provides access to a  specific registry provider or to a class of registry providers that are  based on a common specification.</li>
</div>
</ul>
<p>Examples are kindly provided.</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/161/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/161/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/161/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=161&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/jaxr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>WSDP</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/wsdp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/wsdp/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:30:03 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=160</guid>
		<description><![CDATA[Here installiation notes can be found. Some example with JWSDP. And a pleasant tutorial Using Message Security with Java WSDP.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=160&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here <a href="http://java.sun.com/webservices/downloads/install-windows.html">installiation notes</a> can be found<strong>.</strong></p>
<p>Some <a href="http://www.isy.vcu.edu/mthomas/jsp/info451/tomcat-jwsdp-FAQ.html#Servlet.jar%20in%20JWSDP">example</a> with JWSDP.</p>
<p>And a pleasant tutorial <a href="http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/Security-WebSvcs7.html">Using Message Security with Java WSDP</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=160&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/wsdp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAX-WSA</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/jax-wsa/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/jax-wsa/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 19:28:21 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=157</guid>
		<description><![CDATA[IN lecture 5 as like as in the slides of its origin there is a mistype: instead of JAX-SWA must be JAX-WSA. JAX-WSA = Java API for XML Web Services Addressing. This is a nice presentation called &#8220;Java API for XML Web Services&#8221;. Specifications of JAX-WSA can be found here.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=157&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>IN lecture 5 as like as in the <a href="http://latemar.science.unitn.it/segue_userFiles/2007WebArchitectures/Jaxp.pdf">slides of its origin</a> there is a mistype: instead of JAX-SWA must be JAX-WSA.</p>
<p>JAX-WSA = Java API for XML Web Services Addressing.</p>
<p>This is a nice <a href="http://www.trijug.org/downloads/JAX_WS_Rima_SAS.pdf">presentation</a> called &#8220;Java API for XML Web Services&#8221;.<br />
Specifications of JAX-WSA can be found <a href="http://www.jcp.org/en/jsr/detail?id=261">here</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=157&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/jax-wsa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAX-WS</title>
		<link>http://webarcnat.wordpress.com/2010/12/24/jdom-example/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/24/jdom-example/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 16:05:36 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=138</guid>
		<description><![CDATA[The name was only mentioned. So the first link is JAX-WS + JAXP Tutorial (using Stock Quote Service).  The second one &#8211; jax-ws.java.net. The third one I found as a whole category dedicated to JAX-WS in a blog with a very nice example. JAX-WS = Java API for XML Web Services. JAX-WS is an API [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=138&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The name was only mentioned. So the first link is <a href="http://techtracer.com/2007/08/15/jax-ws-jaxp-tutorial-building-a-stockquote-web-service-client/">JAX-WS + JAXP Tutorial</a> (using Stock Quote Service).  The second one &#8211; <a href="http://jax-ws.java.net/">jax-ws.java.net</a>. The third one I found as a whole category dedicated to JAX-WS in a <a href="http://jianmingli.com/wp/?cat=41"> blog</a> with a very <a href="http://jianmingli.com/wp/?p=394">nice example</a>.</p>
<p>JAX-WS = Java API for XML Web Services. JAX-WS is an API for creating as well as invoking web  services. It succeeds the JAX RPC API and makes it easier by reducing  the XML configurations.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=138&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/24/jdom-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Serialization</title>
		<link>http://webarcnat.wordpress.com/2010/12/19/xml-serialization/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/19/xml-serialization/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 19:08:44 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=153</guid>
		<description><![CDATA[Yes, lecture 5 slides :) Few samples and two useful links: 1) A really good tutorial; 2) Package org.simpleframework.xml description. Just a lot of work to do. P.S. I&#8217;m going home tomorrow, so I don&#8217;t know how often the future activity in my blog will be.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=153&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, lecture 5 slides :)</p>
<p>Few samples and two useful links:</p>
<p>1)<a href="http://simple.sourceforge.net/download/stream/doc/tutorial/tutorial.php"> A really good tutorial</a>;</p>
<p>2)<a href="http://simple.sourceforge.net/download/stream/doc/javadoc/org/simpleframework/xml/package-summary.html"> Package org.simpleframework.xml</a> description.</p>
<p>Just a lot of work to do.</p>
<p>P.S. I&#8217;m going home tomorrow, so I don&#8217;t know how often the future activity in my blog will be.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=153&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/19/xml-serialization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>X-Link and X-Pointer</title>
		<link>http://webarcnat.wordpress.com/2010/12/19/x-link-and-x-point/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/19/x-link-and-x-point/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 13:10:03 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=148</guid>
		<description><![CDATA[Still from the lecture 5 slides: • XLink deﬁnes a standard way of creating hyperlinks in XML documents. • XPointer allows the hyperlinks to point to more speciﬁc parts (fragments) inthe XML document. Example from lecture XLink &#8211; simple: XLink - simple &#60;?xml version="1.0"?&#62; &#60;homepages xmlns:xlink="http://www.w3.org/1999/xlink"&#62; &#60;homepage xlink:type="simple" xlink:href="http://www.w3schools.com"&#62;Visit W3Schools&#60;/homepage&#62; &#60;homepage xlink:type="simple" xlink:href="http://www.w3.org"&#62;Visit W3C&#60;/homepage&#62; &#60;/homepages&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=148&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Still from the lecture 5 slides:</p>
<p>• XLink deﬁnes a standard way of creating hyperlinks in XML documents.</p>
<p>• XPointer allows the hyperlinks to point to more speciﬁc parts (fragments) inthe XML document.</p>
<p>Example from lecture XLink &#8211; simple:</p>
<pre><strong>XLink - simple</strong>
&lt;?xml version="1.0"?&gt;
&lt;homepages xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
&lt;homepage xlink:type="simple"
xlink:href="http://www.w3schools.com"&gt;Visit
W3Schools&lt;/homepage&gt;
&lt;homepage xlink:type="simple"
xlink:href="http://www.w3.org"&gt;Visit W3C&lt;/homepage&gt;
&lt;/homepages&gt;</pre>
<p>From the website at <a href="http://www.w3schools.com/xlink/xlink_syntax.asp">w3schools.com</a> description of this example:</p>
<p>To get access to the XLink attributes and features we must declare the XLink namespace at the top of the document.</p>
<p>The XLink namespace is: &#8220;http://www.w3.org/1999/xlink&#8221;.</p>
<p>The xlink:type and the xlink:href attributes in the &lt;homepage&gt; elements define that the  type and href attributes come from the xlink namespace.</p>
<p>The xlink:type=&#8221;simple&#8221; creates a simple, two-ended link (means &#8220;click from  here to go there&#8221;). We will also look at multi-ended (multidirectional) links. XLink is getting more interesting when we want to access remote locations as resources, instead of standalone pages. The  element in the example above sets the value of the xlink:show attribute to &#8220;new&#8221;. This means that the link should open in a new window. We could have set the value of the xlink:show attribute to &#8220;embed&#8221;. This means that the resource should be processed inline within the page. When you consider that this could be another XML document and not just an image, you could, for example, build a hierarchy of XML documents.</p>
<p>With XLink, you can also specify WHEN the resource should appear. This is handled by the xlink:actuate attribute. xlink:actuate=&#8221;onLoad&#8221; specifies that the resource should be loaded and shown when the document loads. However, xlink:actuate=&#8221;onRequest&#8221; means that the resource is not read or shown before the link is clicked. This is very handy for low-bandwidth settings.</p>
<p>And then about<strong> XPointer syntax</strong>:</p>
<p>In HTML, we can create a hyperlink that either points to an HTML page or to a bookmark inside an HTML page (using #).</p>
<p>Sometimes it is more useful to point to more specific content. For  example, let&#8217;s say that we want to link to the third item in a  particular list, or to the  second sentence of the fifth paragraph. This is easy with XPointer.</p>
<p>If the hyperlink points to an XML document, we can add an XPointer  part after the URL in the xlink:href attribute, to navigate (with an  XPath expression) to a specific place in the  document.</p>
<p>For example, in the example below we use XPointer to point to the fifth item in a list with a unique id of &#8220;rock&#8221;:</p>
<pre>href="http://www.example.com/cdlist.xml#id('rock').child(5,item)"</pre>
<p>Further &#8211; presentation of an example about how to use XPointer in conjunction with XLink to point to a specific part of another document.</p>
<p><a href="http://www.brics.dk/%7Eamoeller/XML/linking/index.html">Here</a> a short version is placed.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=148&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/19/x-link-and-x-point/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XPath and XQuery</title>
		<link>http://webarcnat.wordpress.com/2010/12/19/xpath-qxuery/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/19/xpath-qxuery/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 08:12:37 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=140</guid>
		<description><![CDATA[XPath was already mentioned before, but that&#8217;s not a reason not to publish some more. Very good description is presented at Cafe con Leche. The starting point were lecture 5 slides. The next links were given: 1) List of XPath, XQuery and XSLT functions at w3schools.com, 2) Nice presentation of XPath with examples. XQuery: 3) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=140&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XPath was already mentioned before, but that&#8217;s not a reason not to publish some more.</p>
<p>Very good description is presented at <a href="http://www.cafeconleche.org/books/xmljava/chapters/ch16.html">Cafe con Leche</a>.</p>
<p>The starting point were lecture 5 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/XpathJ.ppt">slides.</a></p>
<p>The next links were given:</p>
<p><a href="http://www.w3schools.com/xpath/xpath_functions.asp">1) List of XPath, XQuery and XSLT functions</a> at w3schools.com,</p>
<p>2) Nice presentation of XPath with <a href="http://www.w3schools.com/xpath/xpath_examples.asp">examples</a>.</p>
<p>XQuery:</p>
<p>3) <a href="http://www.brics.dk/%7Eamoeller/XML/querying/index.html">http://www.brics.dk/~amoeller/XML/querying/index.html</a> &#8211; exactly from the one of my favourite books.</p>
<p>XQuery API for Java:</p>
<p>4) <a href="http://www.datadirect.com/developer/xquery/topics/xqj_tutorial/index.ssp">An XQJ Tutorial: Introduction to the XQuery API for Java</a> &#8211; &#8220;cosi cosi&#8221;</p>
<p>5) A very good tutorial at <a href="http://www.ibm.com/developerworks/xml/library/x-xjavaxquery/">ibm.com</a>, I should try it.</p>
<p>Xquery engines:</p>
<p><a href="http://www.sqlsummit.com/XQueryProv.htm#Engine">6) http://www.sqlsummit.com/XQueryProv.htm#Engine</a> (a very long list, no sense to check each point).</p>
<p>There is an example in lecture slides, the next one:</p>
<pre>import java.io.IOException;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
import javax.xml.parsers.*;
import javax.xml.xpath.*;
public class XPathExample {
public static void main(String[] args)
throws ParserConfigurationException, SAXException,
IOException, XPathExpressionException {
//read an XML file into a DOM Document
DocumentBuilderFactory domFactory=
DocumentBuilderFactory.newInstance();
domFactory.setNamespaceAware(true); // never forget this!
DocumentBuilder builder = domFactory.newDocumentBuilder();Document
doc =
builder.parse("books.xml");

// prepare the XPath expression
XPathFactory factory = XPathFactory.newInstance();
XPath xpath = factory.newXPath();
XPathExpression expr
= xpath.compile("//book[author='Dante Alighieri']/title/text()");
//evaluate the expression ona Node
Object result = expr.evaluate(doc, XPathConstants.NODESET);
// examine the results
NodeList nodes = (NodeList) result;
for (int i = 0; i &lt; nodes.getLength(); i++) {
System.out.println(nodes.item(i).getNodeValue());
}
}
}
</pre>
<p>It works great. Just one last bracket was lost. The file books.xml should be in the same folder as this java class.</p>
<p>So tested and carefully read almost all recommended materials.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/140/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/140/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=140&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/19/xpath-qxuery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAXB</title>
		<link>http://webarcnat.wordpress.com/2010/12/19/jaxb/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/19/jaxb/#comments</comments>
		<pubDate>Sun, 19 Dec 2010 07:05:59 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=135</guid>
		<description><![CDATA[Java Architecture for XML Binding (JAXB) provides a convenient way to bind an XML schema to a representation in Java code. JAXB is the official API for XML binding from Sun: supports binding of DTD and XML Schema allows customization of the binding standardizes the interfaces for the generated classes allows different JAXB implementations to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=135&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://jaxb.java.net/">Java Architecture for XML Binding</a> (JAXB) provides a convenient way to bind an XML schema to a representation in Java code.</p>
<p><a href="http://www.oracle.com/technetwork/articles/javase/index-140168.html">JAXB</a> is the official API for XML binding from Sun:</p>
<ul>
<li>supports binding of <a href="http://www.brics.dk/%7Eamoeller/XML/schemas/dtd.html">DTD</a> and  <a href="http://www.brics.dk/%7Eamoeller/XML/schemas/xmlschema.html">XML Schema</a></li>
<li>allows customization of the binding</li>
<li>standardizes the interfaces for the generated classes</li>
<li>allows different JAXB implementations to use different implementations of these interfaces</li>
<li>supports validation of unmarshalled documents</li>
<li>supports validation of content trees</li>
<li>is unrelated to <a href="http://www.brics.dk/%7Eamoeller/XML/programming/domapi.html">DOM</a> and  <a href="http://www.brics.dk/%7Eamoeller/XML/programming/jdomapi.html">JDOM</a></li>
</ul>
<p>I understood what is marshalling and unmarshaling, why is it used for.</p>
<p>This <a href="http://java.sun.com/developer/technicalArticles/xml/jaxb/">article </a>is good. <a href="http://community.jboss.org/wiki/JAXBIntroductions">Here</a> is quite short introduction to JAXB, and <a href="http://community.jboss.org/wiki/JAXBIntroductionsOnJBossWS">here </a> it is connected with JBOSS.</p>
<p>I should pay attention again to <a href="http://thoughtforge.net/2010/02/04/marshalling-xml-with-spring-ws-and-jaxb/">this article</a>, as I didn&#8217;t understand anything in it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=135&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/19/jaxb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAXP</title>
		<link>http://webarcnat.wordpress.com/2010/12/18/jaxp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/18/jaxp/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 20:37:58 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=71</guid>
		<description><![CDATA[I decided to review my knowledge about JAXP. Again, with a reference to Cafe con Leche &#8220;JAXP 1.1 = SAX2 + DOM2 + TrAX + factory classes, which are in the javax.xml.parsers.&#8221; From the lecture 4 slides: &#8220;JAXP provides a common interface for creating and using the standard SAX, DOM, and XSLT APIs in Java, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=71&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I decided to review my knowledge about JAXP. Again, with a reference to <a href="http://www.cafeconleche.org/slides/sd2002west/introxml/278.html">Cafe con Leche</a> &#8220;JAXP 1.1 = SAX2 + DOM2 + TrAX + factory classes, which are in the javax.xml.parsers.&#8221;</p>
<p>From the lecture 4 slides: &#8220;JAXP provides a common interface for creating and using the standard SAX, DOM, and XSLT APIs in Java, regardless of which vendor&#8217;s implementation is actually being used&#8221;.</p>
<p>And yes, that&#8217;s true.</p>
<p>Let this post be a kind of summary on JAXP.</p>
<p>&nbsp;</p>
<p>Useful: <a href="http://jaxp.java.net/">jaxp.java.net</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=71&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/18/jaxp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JDOM</title>
		<link>http://webarcnat.wordpress.com/2010/12/18/jdom/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/18/jdom/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 19:58:06 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=50</guid>
		<description><![CDATA[A JDOM is a Java document object model. These are main links from a lecture 4 for JDOM: 1) jdom.org 2) dom4j.org From the first one from http://www.jdom.org/dist/binary/ downloaded jdom-1.1.1.zip, jdom-contrib-1.1.1.zip and jdom-test-1.1.1.zip. Also faq was useful. The second link has more advertisements than new information. Nice tutorial at the coffee machine blog provided an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=50&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A JDOM is a Java document object model. These are main links from a lecture 4 for JDOM:</p>
<p>1) <a href="http://www.jdom.org/">jdom.org</a></p>
<p>2) <a href="http://www.dom4j.org/">dom4j.org</a></p>
<p>From the first one from http://www.jdom.org/dist/binary/ downloaded jdom-1.1.1.zip, jdom-contrib-1.1.1.zip and jdom-test-1.1.1.zip.</p>
<p>Also <a href="http://www.jdom.org/docs/faq.html">faq </a>was useful.</p>
<p>The second link has more advertisements than new information.</p>
<p>Nice tutorial at <a href="http://thecoffeemachine.wordpress.com/2008/08/29/xml-with-java-and-jdom/">the coffee machine</a> blog provided an opportunity to work with xml file and create a new one.</p>
<p>First of all I unzipped jdom-1.1.1.zip, then in eclipse-java project-properties in build path added external jar from jdom-1.1.1/build/jdom.jar.<br />
With help of the class JDOMDVD an output dvd.xml was successfully created. The other two examples (JDOMDVDTitles and JDOMDVDFilter) were also runned successfully. An interesting point was using JFileChooser, which makes working more pleasant even already being in eclipse.</p>
<p>Nice example at <a href="http://www.brics.dk/~amoeller/XML/programming/bcedit.html">brics.dk</a> &#8211; A Business Card editor.</p>
<p>Remembering about a <a href="http://www.brics.dk/~amoeller/XML/programming/jdomtree.html">source</a> with using recipes.xml file, the main idea was underlined:<br />
&#8220;DOM is too complicated to suit many programmers. Since it is a general API, it does not use special Java features &#8211; for example, existing collection classes are ignored. JDOM is designed to be simple and Java-specific. &#8220;<br />
Example was checked (FirstRecipeJDOM), the source codes can be found <a href="http://www.brics.dk/ixwt/examples/">here</a>. And the information on that website is always short and clear.</p>
<p>Then I turned back to my favourite <a href="http://www.cafeconleche.org/books/xmljava/chapters/ch14s08.html">book</a> and tested all examples in the appropriate chapter 14. Very nice. I learned a lot.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=50&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/18/jdom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>TrAX</title>
		<link>http://webarcnat.wordpress.com/2010/12/18/trax/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/18/trax/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 15:07:46 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=136</guid>
		<description><![CDATA[The transformation API for XML. In Xalan directoru there already is a folder TrAX in Samples. There is a pleasant reading among my favourite set of resources: 1) book 2) slides Nice post about TrAX is presented here &#8211; XML Processing with TRaX. There are also examples. By the way, a new source of handy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=136&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The transformation API for XML.<br />
In Xalan directoru there already is a folder TrAX in Samples.<br />
There is a pleasant reading among my favourite set of resources:</p>
<p>1) <a href="http://www.cafeconleche.org/books/xmljava/chapters/ch17s02.html">book</a></p>
<p>2) <a href="http://www.cafeconleche.org/slides/sd2003west/xmlandjava/335.html">slides</a></p>
<p>Nice post about TrAX is presented here &#8211; <a href="http://onjava.com/pub/a/onjava/2001/07/02/trax.html">XML Processing with TRaX</a>. There are also examples.</p>
<p>By the way, a new <a href="http://docstore.mik.ua/orelly/xml/">source of handy materials </a>was found.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=136&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/18/trax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>JAXP-XPath example</title>
		<link>http://webarcnat.wordpress.com/2010/12/18/jaxp-xpath-example/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/18/jaxp-xpath-example/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 08:15:20 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=113</guid>
		<description><![CDATA[Working on understanding the next example: JAXP/XPath example &#8211; I JAXP/XPath example &#8211; II JAXP/XPath example &#8211; III Problem. First time when started, the next error after the correct output in colsole appeared: ERROR: JDWP Unable to get JNI 1.2 environment, jvm-&#62;GetEnv() return code = -2 JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820] All next times and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=113&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Working on understanding the next example:</p>
<ul>
<li><a title="Permanent Link: JAXP/XPath example - I" rel="bookmark" href="http://www.java-tips.org/blog/xml/jaxpxpath-example-i.html">JAXP/XPath example &#8211; I</a></li>
<li><a title="Permanent Link: JAXP/XPath example - II" rel="bookmark" href="http://www.java-tips.org/blog/xml/jaxpxpath-example-ii.html">JAXP/XPath example &#8211; II</a></li>
<li><a title="Permanent Link: JAXP/XPath example - III" rel="bookmark" href="http://www.java-tips.org/blog/xml/jaxpxpath-example-iii.html">JAXP/XPath example &#8211; III</a></li>
</ul>
<p>Problem. First time when started, the next error after the correct output in colsole appeared:</p>
<p>ERROR: JDWP Unable to get JNI 1.2 environment, jvm-&gt;GetEnv() return code = -2<br />
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):  [../../../src/share/back/util.c:820]</p>
<p>All next times and further playings it didn&#8217;t give such error.</p>
<p>Here is java code:</p>
<pre>import java.io.IOException;
import javax.swing.text.Document;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpressionException;
import javax.xml.xpath.XPathFactory;
import org.w3c.dom.NodeList;
import org.w3c.dom.xpath.XPathExpression;
import org.xml.sax.SAXException;

public class domm {
	public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException, XPathExpressionException {

	DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
	factory.setNamespaceAware(true); // never forget this!
	DocumentBuilder builder = factory.newDocumentBuilder();
	org.w3c.dom.Document doc = builder.parse("books.xml");
	XPathFactory factory1 = XPathFactory.newInstance();

	//Now we have to use this factory to create an XPath object:

	XPath xpath = factory1.newXPath();

	//The XPath object compiles the XPath expression:

	javax.xml.xpath.XPathExpression expr = xpath.compile("//book[author='Neal Stephenson']/title/text()");

	//Finally, we will evaluate the XPath expression to get the result using evaluate(…) method.

	Object result = expr.evaluate(doc, XPathConstants.NODESET);

    //Now you can cast the result to a DOM NodeList and iterate through that to find all the titles as shown below:

	NodeList nodes = (NodeList) result;
	for (int i = 0; i &lt; nodes.getLength(); i++) {
	    System.out.println(nodes.item(i).getNodeValue());
	}
	}
}</pre>
<p>And example of code of books.xml</p>
<pre>&lt;inventory&gt;
 &lt;book year="2000"&gt;
 &lt;title&gt;Snow Crash&lt;/title&gt;
 &lt;author&gt;Neal Stephenson&lt;/author&gt;
 &lt;publisher&gt;Spectra&lt;/publisher&gt;
 &lt;isbn&gt;0553380958&lt;/isbn&gt;
 &lt;price&gt;14.95&lt;/price&gt;
 &lt;/book&gt;

 &lt;book year="2005"&gt;
 &lt;title&gt;Burning Tower&lt;/title&gt;
 &lt;author&gt;Larry Niven&lt;/author&gt;
 &lt;author&gt;Jerry Pournelle&lt;/author&gt;
 &lt;publisher&gt;Pocket&lt;/publisher&gt;
 &lt;isbn&gt;0743416910&lt;/isbn&gt;
 &lt;price&gt;5.99&lt;/price&gt;
 &lt;/book&gt;

 &lt;book year="1995"&gt;
 &lt;title&gt;Zodiac&lt;/title&gt;
 &lt;author&gt;Neal Stephenson&lt;/author&gt;
 &lt;publisher&gt;Spectra&lt;/publisher&gt;
 &lt;isbn&gt;0553573862&lt;/isbn&gt;
 &lt;price&gt;7.50&lt;/price&gt;
 &lt;/book&gt;

 &lt;book year="1905"&gt;
 &lt;title&gt;Some Name&lt;/title&gt;
 &lt;author&gt;Neal Stephenson&lt;/author&gt;
 &lt;publisher&gt;Publisher2&lt;/publisher&gt;
 &lt;isbn&gt;0511173862&lt;/isbn&gt;
 &lt;price&gt;1.10&lt;/price&gt;
 &lt;/book&gt;
 &lt;!-- more books... --&gt;

&lt;/inventory&gt;</pre>
<p>The output:</p>
<p>Snow Crash<br />
Zodiac<br />
Some Name</p>
<p>- Correct, as these are all the names of Neal Stephenson&#8217;s books in .xml file.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=113&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/18/jaxp-xpath-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XSLT and JAXP</title>
		<link>http://webarcnat.wordpress.com/2010/12/17/xslt-and-jaxp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/17/xslt-and-jaxp/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 12:24:15 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=111</guid>
		<description><![CDATA[According to a very nice presentation of JAXP technique examples were understood and tested succesfully in eclipse. Scheme of using program arguments became even more clearer.  And the output file was easily created.  I really liked an example with classes Dom02 and Dom02Writer. By the way, a set of good lessons can be found here [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=111&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>According to a very nice presentation of <a href="http://www.developer.com/java/other/article.php/3099751">JAXP</a> <a href="http://www.developer.com/xml/article.php/3113351/Getting-Started-with-Java-JAXP-and-XSL-Transformations-XSLT.htm">technique</a> examples were understood and tested succesfully in eclipse. Scheme of using program arguments became even more clearer.  And the output file was easily created.  I really liked an example with classes Dom02 and Dom02Writer.</p>
<p>By the way, a set of good lessons can be found here http://www.dickbaldwin.com/tocxml.htm</p>
<p>Reading the information and testing a good <a href="http://www.cafeconleche.org/books/xmljava/chapters/ch09s06.html">example</a> (program that uses JAXP to check documents for well-formedness) from Cafe con Leche website.</p>
<pre>import javax.xml.parsers.*; // JAXP
import org.xml.sax.SAXException;
import java.io.IOException;

public class JAXPChecker {

  public static void main(String[] args) {

    if (args.length &lt;= 0) {
      System.out.println("Usage: java JAXPChecker URL");
      return;
    }
    String document = args[0];

    try {
      DocumentBuilderFactory factory
       = DocumentBuilderFactory.newInstance();
      DocumentBuilder parser = factory.newDocumentBuilder();
      parser.parse(document);
      System.out.println(document + " is well-formed.");
    }
    catch (SAXException e) {
      System.out.println(document + " is not well-formed.");
    }
    catch (IOException e) {
      System.out.println(
       "Due to an IOException, the parser could not check "
       + document
      );
    }
    catch (FactoryConfigurationError e) {
      // JAXP suffers from excessive brain-damage caused by
      // intellectual in-breeding at Sun. (Basically the Sun
      // engineers spend way too much time talking to each other
      // and not nearly enough time talking to people outside
      // Sun.) Fortunately, you can happily ignore most of the
      // JAXP brain damage and not be any the poorer for it.

      // This, however, is one of the few problems you can't
      // avoid if you're going to use JAXP at all.
      // DocumentBuilderFactory.newInstance() should throw a
      // ClassNotFoundException if it can't locate the factory
      // class. However, what it does throw is an Error,
      // specifically a FactoryConfigurationError. Very few
      // programs are prepared to respond to errors as opposed
      // to exceptions. You should catch this error in your
      // JAXP programs as quickly as possible even though the
      // compiler won't require you to, and you should
      // never rethrow it or otherwise let it escape from the
      // method that produced it.
      System.out.println("Could not locate a factory class");
    }
    catch (ParserConfigurationException e) {
      System.out.println("Could not locate a JAXP parser");
    }

  }

}
</pre>
<p>The output:<br />
&#8220;MyF.xml is well-formed.&#8221;<br />
And an option &#8220;validate&#8221; is already built in eclipse &#8211; just right-mouse click on the .xml file and then &#8220;Validate&#8221;.<br />
As we know from the second lecture (<a href="http://latemar.science.unitn.it/segue_userFiles/2007WebArchitectures/xml.pdf">XML)</a>, XML documents need not be valid, but all XML documents must be well- formed.</p>
<p>Just a magical book &#8211; <a href="http://www.cafeconleche.org/books/xmljava/">Processing XML with Java by Elliotte Rusty Harold</a>. So clear, so accurate, so pleasant to read and to work with its material.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=111&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/17/xslt-and-jaxp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>SAX</title>
		<link>http://webarcnat.wordpress.com/2010/12/16/sax/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/16/sax/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 13:15:47 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=115</guid>
		<description><![CDATA[SAX is the best known example of event-based API. Starting form the lecture 4 slides. The example for SAX which consists of two classes can not be just pasted into eclipse, there should be &#8220;public class Echo01 {&#8221; without &#8220;implements MySaxHandler&#8221;. Then it works. The output for MyFile.xml described in previous post was: &#60;?xmlversion='1.0' encoding='UTF-8'?&#62; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=115&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>SAX is the best known example of event-based API.</p>
<p>Starting form the lecture 4 <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/14-Jaxp-ronchet%20on%20MacMarco.ppt">slides</a>. The example for SAX which consists of two classes can not be just pasted into eclipse, there should be &#8220;public class Echo01 {&#8221; without &#8220;implements MySaxHandler&#8221;. Then it works.</p>
<p>The output for MyFile.xml described in previous post was:</p>
<pre>&lt;?xmlversion='1.0' encoding='UTF-8'?&gt;
&lt;student&gt;
 &lt;student-name&gt;
 &lt;firstname&gt;
 &lt;/firstname&gt;
 &lt;lastname&gt;
 &lt;/lastname&gt;
 &lt;/student-name&gt;
 &lt;student-address&gt;
 &lt;address&gt;
 &lt;/address&gt;
 &lt;city&gt;
 &lt;/city&gt;
 &lt;/student-address&gt;
&lt;/student&gt;</pre>
<p>Tthen going to <a href="http://www.saxproject.org/event.html">saxproject website</a> and finding good <a href="http://www.saxproject.org/links.html">links</a>.</p>
<p>Continuing working with &lt;a href=&#8221;http://www.brics.dk/~amoeller/XML/programming/saxapi.html&#8221;&gt;this page&lt;/a&gt; and its &lt;a href=&#8221;http://www.brics.dk/~amoeller/XML/programming/saxexample.html&#8221;&gt;example&lt;/a&gt; about recipes collection.<br />
The first example Flour gave error:<br />
&#8220;[Fatal Error] recipes.xml:2:1: Content is not allowed in prolog.<br />
org.xml.sax.SAXParseException: Content is not allowed in prolog.<br />
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)<br />
at Flour.main(Flour.java:25)<br />
0.0&#8243;<br />
The last extended example Trace with SAX events gives strange message in eclipse:<br />
&#8220;start document<br />
processing instruction: dsd<br />
[Fatal Error] recipes.xml:2:1: Content is not allowed in prolog.<br />
org.xml.sax.SAXParseException: Content is not allowed in prolog.<br />
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)<br />
at Flour.main(Flour.java:55)&#8221;</p>
<p>Like with DOM example I still don&#8217;t now what to do with that, however the code is quite clear.</p>
<p>The next example I took from <a href="http://www.ibm.com/developerworks/java/library/x-jaxp/">here</a>, where SAXParserFactory class is used. It works.</p>
<p>Also I read a clear tutorial about SAX from a given <a href="http://download.oracle.com/javaee/1.4/tutorial/doc/JAXPSAX3.html">link</a> from the lecture. It&#8217;s interesting, highly recommended.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=115&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/16/sax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XML Schema</title>
		<link>http://webarcnat.wordpress.com/2010/12/15/s-3a-oct-7-xml/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/15/s-3a-oct-7-xml/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 22:50:06 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=16</guid>
		<description><![CDATA[Problem: I have no clue how to run the example of XML schema. All material in the lecture is clear, the idea and examples are absolutely clear, but not how to run them. Solution: the tutorial about using the Eclipse XML editor was read, and a new project in eclipse according to those instructions was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=16&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I have no clue how to run the example of XML schema. All material in the lecture is clear, the idea and examples are absolutely clear, but not how to run them.<br />
Solution: the tutorial about using <a href="http://www.ibm.com/developerworks/library/os-ecxml/">the Eclipse XML editor</a> was read, and a new project in eclipse according to those instructions was created. And then I found a very good exercise from the last year lecture slides:</p>
<p>&#8220;XML Exercise</p>
<p>You are given a <a href="http://latemar.science.unitn.it/segue_userFiles/2009WebArchitectures/person.xml">xml file</a> that contains the description of a person. You are requested to write java code to parse it using the available java for xml tools, and to create an object of class Person having two instance variables (name and age) that have to be populated by using the info available in the xml file.<br />
Here is a <a href="http://latemar.science.unitn.it/segue_userFiles/2009WebArchitectures/xmlPersonCode.zip">solution</a> provided by Jouke (one of your colleagues).<br />
As a next tep you should code the viceversa (i.e. start from an instance of Person and produce a xml file that serializes its state).<br />
You are then invited to think how this can be generalized to arbitrary classes, having an arbitrary number of instance variables. (Suggestions: provide a getter and setter method for every instance variable, and use <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#forName%28java.lang.String%29">Class.forName()</a>, <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html#getMethod%28java.lang.String,%20java.lang.Class...%29">Class.getMethod()</a> and <a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#invoke%28java.lang.Object,%20java.lang.Object...%29">Method.invoke()</a>. To know more about these methods and their usage, look at the <a href="http://java.sun.com/docs/books/tutorial/reflect/">Java Reflection API tutorial</a> and in particular at the sections about <a href="http://java.sun.com/docs/books/tutorial/reflect/class/classNew.html">retrieving Class objects</a> and <a href="http://java.sun.com/docs/books/tutorial/reflect/member/methodInvocation.html">method invokation</a><br />
Note: To pass primitive values, you have to wrap them in the corresponding Object type. E.g. to call a method taking an &#8220;int&#8221;, via reflection, you have to do the actual <em>call</em> as follows:<code> setIdMethod.invoke(obj, </code><strong>new</strong><code> Object[]{</code><strong>new</strong><code> Integer(5)});</code><br />
Also, please take a look at some <a href="http://latemar.science.unitn.it/segue_userFiles/2009WebArchitectures/XMLInPractice.ppt">slides</a> that show a framewok that was designed to use XML to serialize/deserialize Java objects.&#8221;</p>
<p>The solution works in eclipse and consists of three files:  PersonParser.java, Person.java, Person.xml.<br />
Person.xml:</p>
<pre>&lt;class&gt;&lt;name&gt;Person&lt;/name&gt;
&lt;attributes&gt;
 &lt;field&gt;
 &lt;type&gt;int&lt;/type&gt;
 &lt;name&gt;age&lt;/name&gt;
 &lt;value&gt;13&lt;/value&gt;
 &lt;/field&gt;
 &lt;field&gt;
 &lt;type&gt;String&lt;/type&gt;
 &lt;name&gt;name&lt;/name&gt;
 &lt;value&gt;Nicole&lt;/value&gt;
 &lt;/field&gt;
&lt;/attributes&gt;
&lt;/class&gt;</pre>
<p>PersonParser.java file:</p>
<pre>import java.io.*;
import org.w3c.dom.*;
import javax.xml.parsers.*;
import javax.xml.transform.*;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*;
import javax.xml.xpath.*;

public class PersonParser {
 public static void main(String[] args) throws Exception {
 File file = new File("person.xml");

 DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
 DocumentBuilder db = dbf.newDocumentBuilder();
 Document doc = db.parse(file);

 XPathFactory factory = XPathFactory.newInstance();
 XPath xpath = factory.newXPath();
 XPathExpression expr = xpath.compile("/class[name/text()='Person']/attributes//field");
 XPathExpression exprType = xpath.compile("./type/text()");
 XPathExpression exprName = xpath.compile("./name/text()");
 XPathExpression exprValue = xpath.compile("./value/text()");

 Person p = new Person();

 NodeList nodes = (NodeList)expr.evaluate(doc, XPathConstants.NODESET);
 for (int i = 0; i &lt; nodes.getLength(); i++) {

 String type = ((Node)exprType.evaluate(nodes.item(i), XPathConstants.NODE)).getNodeValue();
 String attributeName = ((Node)exprName.evaluate(nodes.item(i), XPathConstants.NODE)).getNodeValue();
 String value = ((Node)exprValue.evaluate(nodes.item(i), XPathConstants.NODE)).getNodeValue();

 p.setAttribute(attributeName, type, value);
 }

 System.out.println(p);
 }
}</pre>
<p>Person.java file:</p>
<pre>import java.io.Serializable;

public class Person implements Serializable{

 int age;
 String name;

 public Person(){
 this.name = null;
 this.age = 0;
 }

 public void setAttribute(String attributeName, String type, String value) throws Exception{
 if(attributeName.equals("age") &amp;&amp; type.equals("int")){
 this.age = Integer.parseInt(value);
 } else if(attributeName.equals("name") &amp;&amp; type.equals("String")){
 this.name = value;
 } else {
 throw new Exception("Invalid input");
 }
 }

 public String toString(){
 return "&lt;Person age=" + this.age + " name=" + this.name + "&gt;";
 }
}</pre>
<p>Three files (notes.dtd, notes.xml, notes.xsd) from the example of XML Schema from <a href="http://www.w3schools.com/schema/schema_howto.asp">here</a> were added to the project, and with help of the information at the web-page about <a href="http://www.eclipse.org/webtools/community/tutorials/XMLValidation/XMLValidationTutorial.html">validation</a> in eclipse I selected three files and right-mouse clicked &#8220;Validate&#8221;. A new message appeared: &#8220;The validation completed with no errors or warnings&#8221;.  Success. <a href="http://onjava.com/pub/a/onjava/2004/09/15/schema-validation.html">Few more things</a> about validation.</p>
<p>This is a <a href="http://www.brics.dk/~amoeller/XML/schemas/xmlschema.html">good description</a> of XML Schema with an example about business cards.</p>
<p>Example of a complex type:</p>
<pre>&lt;complexType name="order_type" mixed="true"&gt;
  &lt;choice&gt;
    &lt;element ref="n:address"/&gt;
    &lt;sequence&gt;
      &lt;element ref="n:email" minOccurs="0" maxOccurs="unbounded"/&gt;
      &lt;element ref="n:phone"/&gt;
    &lt;/sequence&gt;
  &lt;/choice&gt;
  &lt;attribute name="id" type="unsignedInt" use="required"/&gt;
&lt;/complexType&gt;</pre>
<p>Another detailed resource on this topic can be found <a href="http://www.w3.org/TR/xmlschema-0/">here</a>.<br />
And a <a href="http://docstore.mik.ua/orelly/xml/schema/index.htm">whole book</a> dedicated to XML Schema with clear examples presents the next chapters:</p>
<p><a href="http://docstore.mik.ua/orelly/xml/schema/ch01_01.htm">Chapter 1: <em>Schema Uses and Development</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch02_01.htm">Chapter 2: <em>Our First Schema</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch03_01.htm">Chapter 3: <em>Giving Some Depth to Our First Schema</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch04_01.htm">Chapter 4: <em>Using Predefined Simple Datatypes</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch05_01.htm">Chapter 5: <em>Creating Simple Datatypes</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch06_01.htm">Chapter 6: <em>Using Regular Expressions to Specify Simple Datatypes</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch07_01.htm">Chapter 7: <em>Creating Complex Datatypes</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch08_01.htm">Chapter 8: <em>Creating Building Blocks</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch09_01.htm">Chapter 9: <em>Defining Uniqueness, Keys, and Key References</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch10_01.htm">Chapter 10: <em>Controlling Namespaces</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch11_01.htm">Chapter 11: <em>Referencing Schemas and Schema Datatypes in XML Documents</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch12_01.htm">Chapter 12: <em>Creating More Building Blocks Using Object-Oriented Features</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch13_01.htm">Chapter 13: <em>Creating Extensible Schemas</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch14_01.htm">Chapter 14: <em>Documenting Schemas</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch15_01.htm">Chapter 15: <em>Elements Reference Guide</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/ch16_01.htm">Chapter 16: <em>Datatype Reference Guide</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/appa_01.htm">Appendix A: <em>XML Schema Languages</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/appb_01.htm">Appendix B: <em>Work in Progress</em></a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/gloss.htm">Glossary</a><br />
<a href="http://docstore.mik.ua/orelly/xml/schema/index/index.htm">Index</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=16&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/15/s-3a-oct-7-xml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>DOM</title>
		<link>http://webarcnat.wordpress.com/2010/12/15/dom/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/15/dom/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 10:58:35 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=117</guid>
		<description><![CDATA[DOM &#8211; a tree-based API compiles an XML document into an internal tree structure. This makes it possible for an application program to navigate the tree to achieve its objective. The Document Object Model working group at the W3C is developing a standard tree-based API for XML. Here is a good description of DOMParser. Starting [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=117&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DOM &#8211; a tree-based API compiles an XML document into an internal tree structure. This makes it possible for an application program to navigate the tree to achieve its objective. The Document Object Model working group at the W3C is developing a standard tree-based API for XML.</p>
<p>Here is a good <a href="http://xerces.apache.org/xerces-j/apiDocs/org/apache/xerces/parsers/DOMParser.html">description</a> of DOMParser.</p>
<p>Starting from lecture 4 JAXP <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/14-Jaxp-ronchet%20on%20MacMarco.ppt">slides</a> and reading information at <a href="http://www.w3.org/DOM/">w3.org</a> I found resource the <a href="http://dmoz.org/Computers/Programming/Internet/W3C_DOM/">Open 	  Directory Project W3C DOM pages</a> and then <a href="http://xerces.apache.org/xerces2-j/">Apache DOM Implementation in Java</a> I understood the idea and principles of DOM.</p>
<p>Example CountDom in lecture is workable, but there is one extra bracket. It should be organized this way:</p>
<pre>import java.io.*;
import org.w3c.dom.*;
import org.xml.sax.*;   // parser uses SAX methods to build DOM object
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.DocumentBuilder;
public class CountDom {
public static void main(String[ ] arg) throws Exception {
if (arg.length != 1) {
System.err.println("Usage: cmd filename (file must exist)");
System.exit(1);
}
Node node = readFile(new File(arg[0]));
System.out.println(arg + " elementCount: " + getElementCount(node));
}

public static Document readFile(File file) throws Exception {
Document doc;
try {
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setValidating(false);
DocumentBuilder db = dbf.newDocumentBuilder();
doc = db.parse(file);
return doc;
} catch (SAXParseException ex) {
throw (ex);
} catch (SAXException ex) {
Exception x = ex.getException();   // get underlying Exception
throw ((x == null) ? ex : x);
}
}
public static int getElementCount(Node node) {
if (null == node)      return 0;
int sum = 0;
boolean isElement = (node.getNodeType() == Node.ELEMENT_NODE);
if (isElement)  sum = 1;
NodeList children = node.getChildNodes();
if (null == children)       return sum;
for (int i = 0; i &lt; children.getLength(); i++) {
sum += getElementCount(children.item(i));   // recursive call
}
return sum;
}
}</pre>
<p>Result for xml-document MyFile.xml, which I pointed in program arguments in eclipse-run-run configurations is the next:<br />
[Ljava.lang.String;@1bac748 elementCount: 7<br />
MyFile.xml text:</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;student&gt;
&lt;student-name&gt;
&lt;firstname&gt;Anusmita&lt;/firstname&gt;
&lt;lastname&gt;Singh&lt;/lastname&gt;
&lt;/student-name&gt;

&lt;student-address&gt;
&lt;address&gt;Rohini&lt;/address&gt;
&lt;city&gt;Delhi&lt;/city&gt;
&lt;/student-address&gt;
&lt;/student&gt;</pre>
<p>As that example was not enough for me (its variations I found <a href="http://www.koders.com/java/fidA15B939C3413F948B216876F0F3B7A0B0066C778.aspx?s=Args#L30">here</a>), I tried an example from <a href="http://www.brics.dk/~amoeller/XML/programming/xmlprogramming.html">here</a> (a simple DOM <a href="http://www.brics.dk/~amoeller/XML/programming/domexample.html">example</a>). Temporary problem - could not resolve import org.apache.xerces.parsers.DOMParser. Solution - to add in elcipse-project-build path-add extern jar - jars form Xalan folder. So just having them in CLASSPATH is not enough. However an error "java.lang.ArrayIndexOutOfBoundsException: 0<br />
at FirstRecipeDOM.main(FirstRecipeDOM.java:11)" appeared. The code is fully understandable, but the reason of exception - not. Later another kind of error appeared:<br />
"[Fatal Error] recipes.xml:2:1: Content is not allowed in prolog.<br />
org.xml.sax.SAXParseException: Content is not allowed in prolog.<br />
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)<br />
at FirstRecipeDOM.main(FirstRecipeDOM.java:11)&#8221;</p>
<p>After that fail I found another set of examples at <a href="http://www.ibm.com/developerworks/java/library/x-jaxp/"> ibm.com</a> website. Running TestDOMParsing for MyFile.xml the result was:<br />
&#8220;Warning: validation was turned on but an org.xml.sax.ErrorHandler was not<br />
set, which is probably not what is desired.  Parser will use a default<br />
ErrorHandler to print the first 10 errors.  Please call<br />
the &#8216;setErrorHandler&#8217; method to fix this.<br />
Error: URI=file:/C:/eclipseHelios/workspace/projx/MyFile.xml Line=2: Document root element &#8220;student&#8221;, must match DOCTYPE root &#8220;null&#8221;.<br />
Error: URI=file:/C:/eclipseHelios/workspace/projx/MyFile.xml Line=2: Document is invalid: no grammar found.&#8221;<br />
However the best tutorial is <a href="http://www.roseindia.net/xml/dom/index.shtml">this one</a>. I went through all its lessons using eclipse:</p>
<ol>
<li><span style="color:#000080;"><a href="http://www.roseindia.net/xml/dom/createblankdomdocument.shtml"><strong>Creating Blank DOM Document</strong></a><br />
This section shows you how to create the blank DOM document.<br />
</span></li>
<li><span style="color:#000080;"><a href="http://www.roseindia.net/xml/dom/createdomchildelement.shtml"><strong>Adding Child Elements to the DOM tree</strong></a><br />
This lesson shows you how to create root and child elements in the DOM tree.</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/GetRootNode.shtml">Getting The XML Root     Element</a><br />
</strong>After reading this section, you will be able to retrieve a  root     element from the <strong>XML</strong> document.  The JAXP (<strong><em>Java APIs for     XML Processing</em></strong>) provides a common interface for creating and using     xml files using the standard SAX, DOM and XSLTs.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMCountElement.shtml">To Count XML     Element</a><br />
</strong>In this section, you will learn to count the elements present in a      <strong>XML</strong> file using DOM APIs.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/CountNodes.shtml">To Count The Elements     in a XML File</a><br />
</strong>In this section, you will learn to count the element in <strong>XML</strong> document using DOM APIs defined in the <strong><em>org.apache.xerces.parsers.DOMParser</em></strong> package.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMParserCheck.shtml">XML Well-Formed-ness</a><br />
</strong>In this section, you will learn to check the well-formed-ness  of a <strong>XML</strong> using the DOM interface. A  well-formed  XML  document must follow the xml syntax rules.</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/SearchElement.shtml">Searching an     Element in the given XML Document</a><br />
</strong>In this you will learn to search an element in the specified XML     document using DOM APIs defined in the <strong><em>org.apache.xerces.parsers.DOMParser</em></strong> package.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/CreatXMLFile.shtml">Create &#8211; XML File (Document)</a><br />
</strong>In this section, you will  learn to create a <strong>XML</strong> document using the <strong>DOM</strong> APIs. This XML document uses  <strong>1.0 </strong>version  and <strong>UTF-8</strong> encoding. </span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/GetElementsDOM.shtml">Regenerating XML  file</a><br />
</strong>In this section, you will learn to get the  elements and its value using <strong>DOM</strong> APIs. </span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMLocateError.shtml">XML Error checker and locater (DOM)</a><br />
</strong>In this section, you will learn to check and locate (line and column number) an error in your <strong>XML</strong> document using the <strong>DOM</strong> APIs.  The XML document follows some rules to check its syntax.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMElements.shtml">Getting all XML Elements </a></strong><br />
In this section, you will learn to retrieve all elements of the <strong>XML</strong> file using the <strong>DOM</strong> APIs. This APIs provides some constructors and methods which helps us to parse the XML file and retrieve all elements.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/AddDocType.shtml">Adding DOCTYPE to a  XML File</a><br />
</strong>In this section, you will learn to add a <strong>DOCTYPE</strong> to your <strong>XML</strong> file  using the DOM APIs.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DisplayElementNodes.shtml">Getting Dom Tree Elements and their Corresponding XML Fragments</a><br />
</strong>In this section, you will learn to get the elements of a <strong>DOM</strong> tree and their corresponding <strong><em>XML</em></strong> fragments. Each element of dom tree has a node level starting with &#8217;0&#8242;. Here the DOM tree elements and their corresponding XML fragments are displayed on the console.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMCloneElements.shtml">Cloning a XML Element</a><br />
</strong>In this section, you will learn to create a clone of<strong> </strong>a  element in the DOM tree. In general, the cloning means to create a duplicate.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/RemoveElement.shtml">Remove Element from XML Document</a><br />
</strong>In this section, you will learn to remove any element from a given  <strong>XML</strong> document. Whenever you remove the xml element from the xml document the data are also lost from the xml element.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/GetData.shtml">Getting Data from XML File (Document)</a><br />
</strong>In this section, you will learn to retrieve the data from a <strong>XML</strong> file. All xml files store the data. You can add and modify the data in the  xml document using the <strong>DOM API</strong>s.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/StoreData.shtml">Storing Data (Retrieved from a XML Document) to a File</a><br />
</strong>In this section, you will learn to store data (retrieved from the <strong>XML</strong> document) to a specified file (with  extension &#8216;<strong>.txt&#8217;</strong>, &#8216;<strong>.doc</strong>&#8216;, &#8216;<strong>.xls</strong>&#8216;, &#8216;<strong>.shtml</strong>&#8216; etc.) in different formats (<strong>text</strong>, <strong>xml</strong>, <strong>html</strong> etc.).<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/DOMValidateDTD.shtml">XML Validate DTD </a></strong><br />
In this section, you will learn to validate a xml file against a  <strong>DTD</strong> (<em>Document Type Definition</em>)  using the <strong>DOM API</strong>s. A DTD defines  the document structure with a list of legal elements and attributes.<br />
</span></li>
<li><span style="color:#000080;"><strong><a href="http://www.roseindia.net/xml/dom/accessing-xml-file-java.shtml">Accessing XML file from Java</a><br />
</strong></span><span style="color:#000080;">In this example we have provided you a simple java example with the source code that will make it possible to access the XML file through Java. For that we have used DOM parser.</span></li>
</ol>
<p>And I liked it very much. Yes, there are some mistakes in codes, however they are so easy &#8211; like forgotten bracket or another kind of import. However each of them was successfully tested.</p>
<p>Also <a href="http://www.cafeconleche.org/books/xmljava/chapters/ch09s06.html">Cafe con Leche</a> and <a href="http://www.devx.com/xml/Article/16921/1954">devx.com</a>provide nice examples.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=117&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/15/dom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XSLT in Eclipse</title>
		<link>http://webarcnat.wordpress.com/2010/12/14/xslt-eclipse/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/14/xslt-eclipse/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 20:31:44 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=31</guid>
		<description><![CDATA[Having Xalan 2.7.1 and Eclipse Helios I wanted to do simple xml transormation. Because it is totally not comfortable to do it using command promt like java org.apache.xalan.xslt.Process -IN test1.xml –XSL test1.xsl –OUT output.html I tried to use this technology According to the good tutorial at http://www.vogella.de/articles/DocBook/article.html and went through all its steps. Buildfile: C:\eclipseHelios\workspace\de.vogella.docbook.first\build.xml [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=31&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having Xalan 2.7.1 and Eclipse Helios I wanted to do simple xml transormation. Because it is totally not comfortable to do it using command promt like java org.apache.xalan.xslt.Process -IN test1.xml –XSL test1.xsl –OUT output.html</p>
<p>I tried to use <a href="http://www.docbook.org/">this technology</a></p>
<p>According to the good tutorial at <a href="http://www.vogella.de/articles/DocBook/article.html">http://www.vogella.de/articles/DocBook/article.html</a> and went through all its steps.</p>
<p>Buildfile: <span style="text-decoration:underline;">C:\eclipseHelios\workspace\de.vogella.docbook.first\build.xml</span></p>
<p><span style="text-decoration:underline;">depends</span>:</p>
<p><span style="text-decoration:underline;">build-html</span>:</p>
<p>[<span style="text-decoration:underline;">xslt</span>] Transforming into C:\eclipseHelios\workspace\de.vogella.docbook.first\output</p>
<p>[<span style="text-decoration:underline;">xslt</span>] Processing C:\eclipseHelios\workspace\de.vogella.docbook.first\documents\book.xml to C:\eclipseHelios\workspace\de.vogella.docbook.first\output\book.html</p>
<p>[<span style="text-decoration:underline;">xslt</span>] Loading stylesheet C:\eclipseHelios\workspace\de.vogella.docbook.first\docbook-xsl\html\docbook.xsl</p>
<p>BUILD SUCCESSFUL</p>
<p>Total time: 4 seconds<br />
Files in folder docbook-xml were downloaded from <a href="http://sourceforge.net/projects/docbook/files/#files">here</a>.</p>
<p>Also there is a possibility to use Eclipse XSL Developer Tools, then the process can be simplified, and the tutorial <a href="http://www.vogella.de/articles/XSLT/article.html">http://www.vogella.de/articles/XSLT/article.html</a> will help.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=31&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/14/xslt-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XSP</title>
		<link>http://webarcnat.wordpress.com/2010/12/14/xsp/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/14/xsp/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 20:31:42 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=221</guid>
		<description><![CDATA[XSP stands for Extensible Server Pages. This book provides a good description and shows how to use it: Sample XSP Page &#60;?xml version="1.0"?&#62; &#60;?cocoon-process type="xsp"?&#62; &#60;?cocoon-process type="xslt"?&#62; &#60;?xml-stylesheet href="myStylesheet.xsl" type="text/xsl"?&#62; &#60;xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core" &#62; &#60;xsp:logic&#62; private static int numHits = 0; private synchronized int getNumHits(  ) { return ++numHits; } &#60;/xsp:logic&#62; &#60;page&#62; &#60;title&#62;Hit Counter&#60;/title&#62; &#60;p&#62;I've [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=221&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XSP stands for Extensible Server Pages.</p>
<p><a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=6">This book</a> provides a good description and shows how to use it:</p>
<p>Sample XSP Page</p>
<pre>&lt;?xml version="1.0"?&gt;
&lt;?cocoon-process type="xsp"?&gt;
&lt;?cocoon-process type="xslt"?&gt;
&lt;?xml-stylesheet href="myStylesheet.xsl" type="text/xsl"?&gt;

&lt;xsp:page language="java"
 xmlns:xsp="http://www.apache.org/1999/XSP/Core"
&gt;

 &lt;xsp:logic&gt;
 private static int numHits = 0; 

 private synchronized int getNumHits(  ) {
 return ++numHits;
 }
 &lt;/xsp:logic&gt;

 &lt;page&gt;
 &lt;title&gt;Hit Counter&lt;/title&gt;

 &lt;p&gt;I've been requested &lt;xsp:expr&gt;getNumHits(  )&lt;/xsp:expr&gt; times.&lt;/p&gt;
 &lt;/page&gt;
&lt;/xsp:page&gt;</pre>
<p>XSL Stylesheet for it:</p>
<pre>&lt;?xml version="1.0"?&gt;

&lt;xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
&gt;

 &lt;xsl:template match="page"&gt;
 &lt;xsl:processing-instruction name="cocoon-format"&gt;
 type="text/html"
 &lt;/xsl:processing-instruction&gt;
 &lt;html&gt;
 &lt;head&gt;
 &lt;title&gt;&lt;xsl:value-of select="title"/&gt;&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;xsl:apply-templates select="*[not(self::title)]" /&gt;
 &lt;/body&gt;
 &lt;/html&gt;
 &lt;/xsl:template&gt;

 &lt;xsl:template match="p"&gt;
 &lt;p align="center"&gt;
 &lt;xsl:apply-templates /&gt;
 &lt;/p&gt;
 &lt;/xsl:template&gt;

&lt;/xsl:stylesheet&gt;</pre>
<p>Thus, XSP easily handles the first major problem of JSP: it    allows the separation of content from presentation. This separation allows    developers to handle content generation (as the XSP page can be generated from    a servlet or other Java code as well as being static), while XML and XSL    authors can handle presentation and styling through modification of the XSL    stylesheet applied to the XSP page. Just as easily, XSP solves the other    significant deficiency of JSP: because XSP processing occurs before any    stylesheets are applied, the resultant XML document can be transformed into    any other format. This maintains all the advantages of XML, as the XSP page    can be transferred between applications as well as being used just for    presentation.</p>
<p>The other chapters:</p>
<p><a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=2">Web Publishing Frameworks</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=3">Selecting a Framework</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=4">Installation</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=5">Using a Publishing Framework</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=6">XSP</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=7">Cocoon 2.0 and Beyond</a><br />
<a href="http://onjava.com/pub/a/onjava/excerpt/java_xml_ch9/index.html?page=8">What&#8217;s Next?</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=221&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/14/xsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Servlets and JSP in Eclipse+Tomcat</title>
		<link>http://webarcnat.wordpress.com/2010/12/14/jsp-elcipse-tomcatb/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/14/jsp-elcipse-tomcatb/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 18:58:09 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=36</guid>
		<description><![CDATA[Really-really big thank to the wonderful tutorial of Developing Web applications with Tomcat and Eclipse. Having installed elipse and tomcat, finally the Dynamic Web Project was created in eclipse, target runtime was set as Apache Tomcat 5.5, file index.jsp was added to the project, in the view &#8220;Servlets&#8221; new server was added &#8211; tomcat 5.5 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=36&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Really-really big thank to the wonderful tutorial of <a href="http://www.ibm.com/developerworks/opensource/library/os-eclipse-tomcat/index.html">Developing Web applications with Tomcat and Eclipse</a>.</p>
<p>Having installed elipse and tomcat, finally the Dynamic Web Project was created in eclipse, target runtime was set as Apache Tomcat 5.5, file index.jsp was added to the project, in the view &#8220;Servlets&#8221; new server was added &#8211; tomcat 5.5 and the current project was added to it. In this view still right-click on Tomcat &#8211; start, then right-click &#8211; publish. Successfully! So the server is started, and the project is linked. Then I just open the page http://localhost:8080/TEcl/index.jsp and see wonderful sentence &#8220;Today&#8217;s date is Tue Dec 14 19:45:35 CET 2010 and this jsp page worked!&#8221;. And each time I renew the page in the browser, in eclipse a string &#8220;Evaluating date now&#8221; in view Console appears.<span style="font-size:8pt;"><br />
index.jsp:</span></p>
<pre><span style="font-size:8pt;">&lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%&gt;
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
&lt;title&gt;My Title&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;% java.util.Date d = new java.util.Date(); %&gt;
&lt;h1&gt;
Today's date is &lt;%= d.toString() %&gt; and this jsp page worked!
&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;</span></pre>
<p>Then the next example was tested successfully &#8211; a new servlet in this project was created and runned. I liked <a href="http://www.jsptube.com/servlet-tutorials/simple-servlet-example.html">the following</a> tutorial.</p>
<p>It&#8217;s productive to develop JSPs and servlets without having to leave the  IDE to start, stop, or deploy to your server. The combination of  Eclipse and Apache Tomcat provides an easy integrated environment that  enables you to speed up development.</p>
<p>Also links form the lecture were used:</p>
<p><a href="http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html">How to use Tomcat 7 with Eclipse</a> (good, however my Tomcat version is 5.5.31)</p>
<p>A recommended from the lecture 6-7 (<a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Servlets10.pdf">download)</a> slides <a href="http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html">very good tutorial about servlets</a> with examples from Duke&#8217;s Bookstore application</p>
<p><a href="http://download.oracle.com/javaee/6/api/index.html?javax/servlet/package-summary.html">JEE 6.0 Sevlet API </a>(overview of all classes and packages, very useful)</p>
<p><a href="http://courses.coreservlets.com/Course-Materials/csajsp2.html">Beginning &amp; Intermediate Servlet &amp; JSP Tutorials</a> (Building Web Apps in Java)</p>
<p>From the last link also exercises were done, such as<br />
1) <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/exercises/exercises-getting-started.pdf">Getting Started</a>;</p>
<p>2) <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/exercises/exercises-servlet-basics.pdf">Servlets Basics</a>, I learned how to create war file and to test my project on the remote server (with help of <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/01-JHU-Deployment.pdf">this information</a>) but haven&#8217;t find appropriate server for testing. And for the student&#8217;s project it is enough to show at localhost, so not so necessary. Let&#8217;s believe it works. Why not.</p>
<p>Understood what the methods Get and Post are, and as I also read the  slides from 2009, tried to understand the pieces of code &#8220;A taste of  servlet programming-2009&#8243;, ineffectively. Tried to expand them into  normal program, but too many errors in Eclipse made me understand it is  much easier to write my own program from scratch with the same  functionality.  That code is a kind of a problem. But configuring with  web.xml is always fine.</p>
<p>3) Handling the Client&#8217;s request: <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/exercises/exercises-form-data.pdf">Form Data</a>, redirecting works, but I created my own example, as they use Tomcat 7, and mine is 5.5.31. The <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/03-Form-Data.pdf&quot;">tutorial in PDF</a> is so clear, I liked it very much.</p>
<p>4) Handling the Client&#8217;s request: <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/05-Status-Codes.pdf" target="_blank">Http request header in PDF</a></p>
<p>5) Generating the Server Response: <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/05-Status-Codes.pdf" target="_blank">HTTP Status Codes in PDF</a></p>
<p>6) Generating the Server Response: <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/06-Response-Headers.pdf" target="_blank"> HTTP Response Headers in PDF</a></p>
<p>7) <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/07-Cookies.pdf" target="_blank">Handling Cookies  in PDF</a></p>
<p>8) <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/08-Session-Tracking.pdf" target="_blank">Session Tracking in PDF</a></p>
<p>9) <a href="http://courses.coreservlets.com/Course-Materials/pdf/csajsp2/09-JSP-Intro.pdf" target="_blank">JSP Introduction and Overview in PDF</a></p>
<p>And there are much more attractive lessons at that website, many thanks for a good link, professor.</p>
<p>Now things look like much easier than before.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=36&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/14/jsp-elcipse-tomcatb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Testing examples of Web services. Sockets.</title>
		<link>http://webarcnat.wordpress.com/2010/12/14/eclipse-helios-and-jboss/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/14/eclipse-helios-and-jboss/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 09:18:02 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=56</guid>
		<description><![CDATA[Out of curiosity how it works, according to Martin Kalin&#8217;s book &#8220;Java Web Services: Up and Running&#8221; the examples were tested. For doing this JAX-WS (Java API for XML-Web Services) was needed. Unfortunately, Eclipse 3.3.0 is too old for easy installation JBoss. So a new version of Eclipse was downloaded, Eclipse Helios 3.6.1 (Eclipse IDE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=56&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Out of curiosity how it works, according to Martin Kalin&#8217;s book &#8220;Java Web Services: Up and Running&#8221; the examples were tested.</p>
<p>For doing this JAX-WS (Java API for XML-Web Services) was needed. Unfortunately, Eclipse 3.3.0 is too old for easy installation JBoss.</p>
<p>So a new version of Eclipse was downloaded, Eclipse Helios 3.6.1 (Eclipse IDE for Java Developers, Version: Helios Service Release 1 , Build id: 20100917-0705 ), installed and runned.</p>
<p>Help &gt; Install New Software&#8230; &gt; and pointed the next URL:<br />
<a href="http://download.jboss.org/jbosstools/updates/development/">http://download.jboss.org/jbosstools/updates/development/</a></p>
<p>Choosed all &#8220;Web and Java EE Development&#8221; and &#8220;All JBoss Tools 3.2.0&#8243;. Haven&#8217;t read all user agreement texts&#8230; Installed. Restarted the PC. After this procedure computer was starting for very long time&#8230;</p>
<p>Downloaded last version of JDK (1.6.0_23) and JRE 6 <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">from here</a>.<br />
Problem &#8211; java from the command prompt suddenly didn&#8217;t work. Information at <a href="http://forum.vingrad.ru/faq/topic-157939.html">this webpage</a> and <a href="http://download.oracle.com/javase/tutorial/getStarted/problems/index.html">this one</a> helped me to solve the problem (Additional changes in evironment  variables: PATH, CLASSPATH, indicating the place of the workspace).<br />
Considering <a href="http://java.dzone.com/articles/jax-ws-hello-world?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+javalobby%2Ffrontpage+%28Javalobby+%2F+Java+Zone%29">this tutorial</a> everything works.</p>
<p>Finally, examples from the Martin Kalin&#8217;s book &#8220;Java Web Services: Up and Running&#8221; with TimeServerPublusher and TimeClient started working correctly using command prompt .</p>
<p>Also the example with <a href="http://download.oracle.com/javase/tutorial/networking/sockets/clientServer.html">KnockKnockServer and KnockKnockClient</a> successfully worked.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=56&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/14/eclipse-helios-and-jboss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Publishing frameworks</title>
		<link>http://webarcnat.wordpress.com/2010/12/08/publishing-frameworks/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/08/publishing-frameworks/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 17:41:03 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=219</guid>
		<description><![CDATA[All four links from the lecture 2 slides are totally useless, and two of them are already old and do not exist. However the names are still valid: Apache Cocoon Enhydra Application Server Bluestone XML Server SAXON This book has a nice chapter about using Cocoon. &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=219&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>All four links from the lecture 2 slides are totally useless, and two of them are already old and do not exist. However the names are still valid:</p>
<p><a href="http://xml.apache.org/">Apache Cocoon </a></p>
<p><a href="http://www.enhydra.org/">Enhydra Application Server</a></p>
<p><a href="http://www.bluestone.com/xml">Bluestone XML Server</a></p>
<p><a href="http://users.iclway.co.uk/mhkay/saxon">SAXON </a><br />
<a href="http://docstore.mik.ua/orelly/xml/jxml/ch10_03.htm"><br />
This book</a> has a nice chapter about using Cocoon.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/219/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/219/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/219/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=219&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/08/publishing-frameworks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>DTD</title>
		<link>http://webarcnat.wordpress.com/2010/12/08/dtd/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/08/dtd/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 16:41:45 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=217</guid>
		<description><![CDATA[XML provides an application independent way of sharing data. With a DTD, independent groups of people can agree to use a common DTD for interchanging data. Your application can use a standard DTD to verify that data that you receive from the outside world is valid. You can also use a DTD to verify your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=217&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>XML provides an application independent way of sharing data. With a DTD, independent groups of people can agree to use a common DTD for interchanging data. Your application can use a standard DTD to verify that data that you receive from the outside world is valid. You can also use a DTD to verify your own data.</p>
<p><a href="http://www.brics.dk/%7Eamoeller/XML/schemas/dtd.html">This is a good text about DTD</a></p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_intro.asp">This book</a> provides a good description of DTD too.<br />
XML documents (and HTML documents) are made up by the following building blocks:<br />
Elements, Tags, Attributes, Entities, PCDATA, and CDATA.<br />
PCDATA means parsed character data. CDATA also means character data.<br />
On that website there is a possibility to try examples on ourselves. Very useful.</p>
<p>Table of contents:</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_intro.asp">Introduction to DTD</a> by Jan Egil Refsnes<br />
An introduction to the XML Document Type Definition.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_building.asp">DTD &#8211; XML Building Blocks</a> by Jan Egil Refsnes<br />
What XML building blocks are defined in a DTD.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_elements.asp">DTD Elements</a> by Jan Egil Refsnes<br />
How to define the elements of an XML document using DTD.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_attributes.asp">DTD Attributes</a> by Jan Egil Refsnes<br />
How to define the legal attributes of XML elements using DTD.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_entities.asp">DTD Entities</a> by Jan Egil Refsnes<br />
How to define XML entities using DTD.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_validation.asp">DTD Validation</a> by Jan Egil Refsnes<br />
How to test for DTD errors while loading XML documents.</p>
<p><a href="http://www.xmlfiles.com/dtd/dtd_examples.asp">DTD Examples</a> by Jan Egil Refsnes<br />
Some DTD examples</p>
<p>&nbsp;</p>
<p>By the way, Eclipse Setup for XML:<br />
In Eclipse, go to Windows Menu and add the following jars for XML configuration in Eclipse<br />
Window &gt; Preferences &gt; Ant &gt; Runtime &gt;Classpath &gt; Add Jars:<br />
xalan.jar<br />
xercesImpl.jar<br />
xmlParserAPIs.jar  - instead this one I added xml-apis.jar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/217/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/217/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/217/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=217&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/08/dtd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>XML, XSLT and Servlets</title>
		<link>http://webarcnat.wordpress.com/2010/12/07/xml-xslt-servlets/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/07/xml-xslt-servlets/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 15:02:05 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=9</guid>
		<description><![CDATA[During the semester according to the lecture tasks: Eclipse Europa version 3.3.0 was installed, also there is jre v.6 and jdk1.6.0_16. Lecture 2 &#8211; Sept 21 &#8211; XML and XSLT 1) Successfully downloaded, installed and runned Tomcat version 5.5.31 ( start &#8211; run &#8211; &#8220;cmd&#8221; -&#8230; &#8220;cd tomcat/bin/&#8221; &#8211; &#8220;startup&#8221; ) On the request &#8220;http://localhost:8080/&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=9&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During the semester according to the <a href="http://latemar.science.unitn.it/segue/index.php?&amp;action=site&amp;site=2009WebArchitectures&amp;section=103">lecture tasks</a>:</p>
<p>Eclipse Europa version 3.3.0 was installed, also there is jre v.6 and jdk1.6.0_16.</p>
<p><span style="color:#ff6600;"><strong>Lecture 2 &#8211; Sept 21</strong></span> &#8211; XML and XSLT</p>
<p><strong> </strong></p>
<p>1) Successfully downloaded, installed and runned Tomcat version 5.5.31</p>
<p>( start &#8211; run &#8211; &#8220;cmd&#8221; -&#8230; &#8220;cd tomcat/bin/&#8221; &#8211; &#8220;startup&#8221; )<br />
On the request</p>
<p>&#8220;http://localhost:8080/&#8221;</p>
<p>it is possible to see the start page of Apache Tomcat/5.5.31.</p>
<p>1a) Checked that static pages are serving<br />
Static pages are in the Tomcat Document Root directory:  tomcat\webapps\ROOT.  Running http://localhost:8080/tomcat.gif in browser shows us a picture of a nice cat. The .html files in that directory are also running on the related request http://localhost:8080/helloTrento.html.</p>
<p>Also folder &#8220;war&#8221; for web arcitecture subject files was created.  The .html file in that directory is running on request http://localhost:8080/war/helloTrento.html.  So Tomcat serves static pages.</p>
<p>1b) Checked that dynamic pages are serving</p>
<p>It is also working, checked by using the link on JSP example &#8220;Implicit Objects&#8221; in &#8220;JSP 2.0 Examples&#8221; section (http://localhost:8080/jsp-examples/jsp2/el/implicit-objects.jsp?foo=first) from the start page.</p>
<p>The file helloTrento.jsp was created. Its text, as example :</p>
<pre>&lt;HTML&gt;
&lt;BODY&gt;
&lt;%
    // This scriptlet declares and initializes "date"
    System.out.println( "Evaluating date now" );
    java.util.Date date = new java.util.Date();
%&gt;
Hello!  The time is now
&lt;%
    // This scriptlet generates HTML output
    out.println( String.valueOf( date ));
%&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;</pre>
<p>Request http://localhost:8080/war/helloTrento.jsp gives an output &#8220;Hello!  The time is now Mon Dec 06 12:25:45 CET 2010&#8243;<br />
<strong>2) Assignment</strong>:</p>
<ul>
<li>download <a href="http://xml.apache.org/xalan-j/">Apache Xalan</a> &#8211; install it &#8211; try the example in <a href="http://xml.apache.org/xalan-j/overview.html">Xalan-Java Overview</a></li>
<li><a href="http://www.zvon.org/xxl/XSLTutorial/Output/contents.html">ZVON XSLT Tutorial</a></li>
<li><a href="http://www.zvon.org/xxl/XSLTutorial/Old_version/Books/Book1/index.html">ZVON Interactive Lab</a></li>
</ul>
<p>1) Downloaded and unzipped Xalan version 2.7.1 (bin).<br />
Changed CLASSPATH.<br />
Checked it works using a command in cmd:  java org.apache.xalan.xslt.EnvironmentCheck</p>
<p>PROBLEM number 1) &#8211; error &#8220;could not find the main class: org.apache.xalan.xslt.EnvironmentCheck&#8221;<br />
Solved: the environment variable name was set as CLASS_PATH instead of CLASSPATH.<br />
PROBLEM number 2) &#8211; the commands are case  sensitive. So it was NOT correct to use command &#8220;java org.apache.xalan.xslt.environmentcheck&#8221;</p>
<p>Being in the folder /war/ the next command was used to check the example given in slides:<br />
java   org.apache.xalan.xslt.Process -IN test1.xml –XSL test1.xsl –O out.html</p>
<p>And the word &#8220;Process&#8221; here has the first capital letter too.</p>
<p>Trying to do the same with example in <a href="http://xml.apache.org/xalan-j/overview.html">Xalan-Java Overview</a></p>
<p>java   org.apache.xalan.xslt.Process &#8211;IN foo.xml –XSL foo.xsl –O out.html</p>
<p>PROBLEM &#8211; got the error &#8220;the process instruction target matching &#8220;[xX][mM][lL]&#8221; is not allowed.&#8221;<br />
Solved: there was an empty raw in the file .xml<br />
A file out.html was created successfully.</p>
<p>3) Checked an example &#8220;Selective processing&#8221; from the lecture 2 slides</p>
<p>Two symbols were missed: instead of  xmlversion &#8211; xml version and one more between xsl:stylesheetxmlns &#8211; xsl:stylesheet xmlns.</p>
<p>Using command java ‑ ­ org.apache.xalan.xslt.Process –IN foo.xml –XSL foo.xsl –OUT out.html<br />
File out.html was created:<br />
<span style="text-decoration:none;">&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;</span><br />
<span style="text-decoration:none;">Esiste una parte privata</span><br />
<span style="text-decoration:none;">La parte pubblica contiene:</span><br />
<span style="text-decoration:none;">SEZIONE PUBBLICA</span><br />
<span style="text-decoration:none;">Testo Pubblico</span></p>
<p><span style="text-decoration:none;">- Successfull.<br />
</span></p>
<p><span style="color:#ff6600;"><strong>Lecture 6 &#8211; Oct 5</strong></span> &#8211; Servlets <a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Servlets10.pdf"></a><br />
4) Servlets</p>
<p>In Tomcat subdirectory &#8220;webapps&#8221; inside the folder &#8220;war&#8221; was created folder &#8220;WEB-INF&#8221;. Also file web.xml  and a folder &#8220;classes&#8221; were put in &#8220;WEB-INF&#8221;.</p>
<p>The file ServletInTrento.java was created in folder &#8220;classes&#8221;.  Its text:</p>
<pre>import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;

public class ServletInTrento extends HttpServlet {

public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException {

PrintWriter out = response.getWriter();
out.println("&lt;HTML&gt;");
out.println("&lt;HEAD&gt;");
out.println("&lt;TITLE&gt;First servlet title&lt;/TITLE&gt;");
out.println("&lt;/HEAD&gt;");
out.println("&lt;BODY&gt;");
out.println("Welcome to Trento!");
out.println("This is a first servlet");
out.println("&lt;/BODY&gt;");
out.println("&lt;/HTML&gt;");
}
}</pre>
<p>Compiling .java file:  in command prompt being in folder tomcat/bin &#8220;startup&#8221;; then &#8220;cd war/WEB-INF/&#8221;; &#8220;javac ServletInTrento.java&#8221;. It is necessary to add &#8220;tomcat\common\lib\servlet-api.jar&#8221; to environment variable CLASSPATH.<br />
ServletInTrento.class was created. Then the file web.xml was modified to let Tomcat serve servlet (the keyword for activating servlet was set as &lt;url-pattern&gt;/runnow&lt;/url-pattern&gt;).<br />
To execute the servlet called ServletInTrento the URL was: http://localhost:8080/war/runnow.</p>
<p>The output we got was &#8220;Welcome to Trento! This is a first servlet&#8221;.</p>
<p>Were given two good links at ZVON. The first one has nice <a href="http://www.zvon.org/xxl/XSLTutorial/Output_rus/contents.htm">russian version </a></p>
<p>And the second link <a href="http://www.zvon.org/xxl/XSLTutorial/Old_version/Books/Book1/index.html">ZVON Interactive Lab</a> is very useful to learn and to see all possible opportunities in working with XSL.</p>
<p>Materials were used:</p>
<p>(1) <strong>Lectures&#8217; videos and slides</strong> <a href="http://latemar.science.unitn.it/segue_userFiles/2007WebArchitectures/xml.pdf">XML.pdf</a> ; <a href="http://latemar.science.unitn.it/segue_userFiles/2007WebArchitectures/XSLDetails.pdf">XSLT.pdf</a> ; <span style="color:#ff6600;"><strong> </strong></span><a href="http://latemar.science.unitn.it/segue_userFiles/2010WebArchitectures/Servlets10.pdf">Servlets</a><br />
(2) <a href="http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Servlets.html">Java Servlet Technology</a><br />
(3) <a href="http://www.cs.tut.fi/~jkorpela/forms/">How to write HTML forms</a><br />
(4) Materials at the website <a href="http://www.w3schools.com">w3schools.com</a><br />
(5) Configuring Tomcat <a href="http://ekawas.blogspot.com/2006/10/configuring-tomcat-to-serve-static.html">to serve static files</a><br />
(6) Apache Tomcat &#8211; <a href="http://www.vogella.de/articles/ApacheTomcat/article.html">Tutorial</a><br />
(7) Tomcat &#8211; <a href="http://www.jajakarta.org/tomcat/tomcat3.2-4.0/tomcat-3.2.3/doc/uguide/tomcat_ug.html">A Minimalistic User&#8217;s Guide</a><br />
(8) <a href="http://support.exsitewebware.com/cgi/page.cgi/articles.html?aid=313&amp;zine=show">Static vs Dynamic</a> content<br />
(9) <a href="http://www.suite101.com/content/static-and-dynamic-web-content-a97262">Static and Dynamic</a> Web content<br />
(10) <a href="http://www.designnano.com/website-design.html">Web design</a><br />
(11) <a href="http://www.sagehill.net/docbookxsl/InstallingAProcessor.html">Installing an XSLT processor</a><br />
(12) <a href="http://xml.apache.org/xalan-j/commandline.html">Example at xml.apache.org</a><br />
(13) <a href="http://www.javatalks.ru/ftopic1675-0-0-asc-.php">Example for servlet running</a><br />
(14) <a href="http://cs.calstatela.edu/~abbott/Courses/CS_320b/Running%20a%20Servlet%20under%20Tomcat.html">Running a Servlet under Tomcat</a><br />
(15) <a href="http://www.caucho.com/resin-3.0/config/webapp.xtp">Servlets and filters</a><br />
(16) <a href="http://www.jsptut.com/Scriptlets.jsp">JSP tutorial</a><br />
(17) <a href="http://www.codango.com/jsp/">JSP examples</a><br />
(18) <a href="http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/">A Servlet and JSP Tutorial</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=9&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/07/xml-xslt-servlets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
		<item>
		<title>Web architecture project TASK</title>
		<link>http://webarcnat.wordpress.com/2010/12/06/web-architecture-project-task/</link>
		<comments>http://webarcnat.wordpress.com/2010/12/06/web-architecture-project-task/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 07:59:55 +0000</pubDate>
		<dc:creator>Nataly</dc:creator>
				<category><![CDATA[Web Architecture project]]></category>

		<guid isPermaLink="false">http://webarcnat.wordpress.com/?p=3</guid>
		<description><![CDATA[As written on the website of the Web Architecture course The exam consists of the demonstration of command of the technologies we examined in the course. This will happen through the presentation of a final project and a discussion. The project consist in a web application, which needs to be divided into multiple tiers. The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=3&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div><strong><a name="1193" href="http://latemar.science.unitn.it/segue/index.php?&amp;site=2010WebArchitectures&amp;section=138&amp;action=site">As written on the website of the Web Architecture course<br />
</a></strong></div>
<div>
<div>
<p>The exam consists of the demonstration of command  of the technologies we examined in the course. This will happen through  the presentation of a final project and a discussion.</p>
<p>The  project consist in a web application, which needs to be divided into  multiple tiers. The application domain can be anything of your choice.</p>
<p>There <strong>must</strong> be a <strong>web tier</strong> (implemented using <strong>JEE technology</strong>), a <strong>business logic tier</strong> (implemented using <strong>EjB</strong>) and a <strong>persistency tier</strong> (implemented with a database and accessed through a persistency layer, which must be implemented using <strong>Hibernate</strong>. We expect the BL tier to be composed by <strong>both</strong> stateless and stateful beans -justification for the choices will be  asked. The student will have to solve the problem of how to split the  state persistency between the web and the application server, and will  have to justify the choices. <strong>Sensible use of design patterns is required</strong>.</p>
<p>The system should show an as clean as possible separation between content and presentation.</p>
<p>A nice look and an attention to the user friendliness will be poitively evaluated.</p>
<p>The existence of <strong>transactions</strong> (or their absence) <strong>must be justified</strong>.</p>
<p>Sensible  use of other optional technologies (whether they were discussed in the  course, like XSLT, or not discussed, as Spring) is not requested but it  is possible and, in case, will be evaluated.</p>
<p>During the exam students are expected to run the application on their machine.</p>
<p>The student will be asked to describe and demonstarte their system. They can be asked to <strong>explain or modify portions of their code</strong>.  Questions about other technologies discussed in the course but not  necessarily used in an explicit manner in the project (such as Remote  Objects or XML) will be asked.</p>
<p>Students are rquired to send their project in a zip file to marco.ronchetti@unitn.it at least <strong>THREE days before the exam date</strong>. The zip file should include the source code, configuration files, and a <strong>report</strong> describing the project. The report should briefly describe the domain,  the allowed operations, the system architecture. UML should be used  whenever possible. <strong>Students are highly encouraged to keep a blog  where they teport the progress of their work, the problems encountered  and the solutions found (look at blogspot or wordpress to get one free).  The presence of a blog will be positively evaluated.</strong></p>
<p><strong> </strong><br />
EXAM DATES:<br />
JANUARY to be fixed, early january (between 10 and 15)<br />
FEBRUARY to be fixed, early February (between 1 and 10)<br />
The following dates (June, July, September) will be available through ESSE3.</p>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/webarcnat.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/webarcnat.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/webarcnat.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=webarcnat.wordpress.com&amp;blog=18219997&amp;post=3&amp;subd=webarcnat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://webarcnat.wordpress.com/2010/12/06/web-architecture-project-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8d0fc467a2b0b4725404eb341d54a063?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">webarcnat</media:title>
		</media:content>
	</item>
	</channel>
</rss>
