WTP tutorial: Tomcat en eclipse i.s.m. Maven

An article, posted more than 15 years ago filed in tutorial, java, jsf, development, software, eclipse, tomcat, notforhomepage, maven & wtp.

 Tijd voor eens een ander artikel dan de eerdere veelal conceptuele artikelen. Dit keer een meer technische tutorial met betrekking tot het inrichten van de werkomgeving. Bij The Bean Machine wordt primair ontwikkeld in Java (en 'dus' de websites geserveerd op een Tomcat server). Verder we werken hier allen met Eclipse en gebruiken we voor het samenrapen van de afhankelijkheden, het uitvoeren van automatische testen, e.d., Maven. Als je deze tools kent, ben je misschien gewend geraakt aan de hoeveelheid command line operaties vereist om dit goed te laten werken. Mocht je daar dan nog niet verknocht aan zijn dan is deze tutorial mogelijk wat voor jou.

Eerst het nut van wat van de zaken die wij in onze werkomgeving gebruiken:

Maven neemt veel werk uit handen bij het maken van iets deploybaars. Tomcat is gewoon dé webserver voor Java gebasseerde webapplicaties Eclipse is de editor of choice van onze überbean, en zwijgzaam volgen wij hem hier in ;)

Dus wat kan WTP (Web Too…

Continue reading...

My first JSF: Stateless vs. stateful

An article, posted more than 15 years ago filed in web, design, work, frameworks, java, jsf, programming, stateful & stateless.

I've started working in a company that creates web applications. I discovered a new way of looking at websites, that of websites as an application…."Hello, have you been sleeping? Wasn't 'RIA' (Rich Internet Application) one of the buzzwords (a few years ago)?"Yes yes yes, but only recently I found out that the application view differs quite a lot from the view, my initial view, that websites are in essence only a source of information. In my opinion, information should be bookmarkable (and thus be unaffected by the state of things; stateless). But what about applications running on the web, which are essentially still sites on the world wide web?JSF, a tool I only recently started working with is a tool that is focussed at creating webapplications… and it definitly seems to prefer the stateful approach in creating such web applications (the resulting html pages rely on a session managing the state of things). Originally, I found the output of JSF rather …

Continue reading...

murb blog