I'm taking the gre in about 6 hours.
sleep has been erratic. I had coffee on tuesday (I do that on tuesdays... it helps me write. I write on tuesdays). ... I know I stayed up 37+ hours somwhere, but I can't figure out where.
I've been struggling with learning jakarta/struts (and ostensibly hibernate, but I haven't gotten that far) for two weeks now (the first time I talked about it was apparently 7 days ago, but I'd been struggling with it for a good week before that (before getting the book that I thought would be the answer to all my prayers). I think that book finally managed to lay down a foundation that I could then begin to build solid knowledge upon... but it didn't give much in a direction of how to build that knowledge... it was just a slab of concrete with a couple letters and numbers on it, telling you where to put various undocumented parts that didn't come with the project anyway.
I really should record my feelings on struts and hibernate here: what I've sent (emailed) to friends while working late at night.
Date: Mon, 6 Jan 2003 12:18:07 -0800
Subject: Re: Hibernate
On Mon, Jan 06, 2003 at 11:33:13AM -0800, Kevin Dorne wrote:
> Hibernate: Java <-> DB?
kinda cool. :)
Date: Mon, 6 Jan 2003 12:49:10 -0800
actually looks really cool.
I'm just about through its faq and qna.
I might get amy to try it on a project. :)
Date: Mon, 6 Jan 2003 18:49:38 -0800
I'm trying to be excited about it.
I think I installed it. [just a bunch of jars...]
reading documentation for the last hour. still sick. eyes blurring.
some of their comments have made me happy (hey, that's how I did it in core!).
their demo seems geared entirely for windows. (several .bat files to play with)
la la la.
Date: Mon, 6 Jan 2003 22:57:06 -0800
Subject: one frustration with hibernate?
it has a thing called sessions that are different that resin's sessions.
thankfully, resin's sessions have a much long REAL name.
I'm into chapter 8 of 11 or so.
taking it slow.
almost ready to try it. maybe.
Date: Mon, 6 Jan 2003 23:38:56 -0800
Subject: strange sql
this is created by SchemaExport from a hibernate schema:
create table authors (
id BIGINT not null generated by default as identity,
primary key (id)
have you ever seen "generated by default as identity"?
doubly weird that it limits alias to 255 chars, as that's not specified anywhere.
[there's more, and more, but...]
Date: Thu, 9 Jan 2003 14:07:31 -0800
Subject: struts -- best practices for logging in
answer -- don't use struts. :heh:http://firstname.lastname@example.org/msg24504.html
Maybe it's time to look into servlet filters. :/
I'm thinking maybe I don't want to bother with struts. It's all so
confusing. :( struts does its own non-resin session handling.
which is probably a good thing (to not rely on resin for things). but.
eh eh eh.
Date: Fri, 10 Jan 2003 02:41:07 -0800
["]Struts for transforming XML with XSL (stxx) is an extension of the struts framework to support XML and XSL without changing the functionality of struts .
stxx sit's on top of struts, extending it's existing functionality to allow Action classes to return XML that will be transformed by an XSL file. The idea of stxx is to remove the need to be use JSP and TagLibs for the presentation layer of this framework. However, stxx does not force you to go the XML/XSL route, both technologies will work side by side.["]
Date: Fri, 10 Jan 2003 17:44:20 -0800
Subject: a struts annoyance
still reading docs.
"The example application included with Struts stretches this design principle somewhat, because the business logic itself is embedded in the Action classes. This should be considered something of a bug in the design of the example, rather than an intrinsic feature of the Struts architecture, or an approach to be emulated."
Date: Fri, 10 Jan 2003 20:18:33 -0800
Subject: struts example
I am impressed by the 'drag and drop' ability of wars, though I don't get how they work when they need a real database (javamail uses a file-based db that it "installs" under itself)...
currently looking at:http://alethe.net/struts-example/tour.do
though it's based on 1.0, and 1.1 seems to be "the bomb". part of me just wants to go with webwork, as that seems SO much easier...
the rest of me wants to do struts once, at least. *yeargh*
Date: Sat, 11 Jan 2003 00:48:56 -0800
Subject: Re: a struts annoyance
On Sat, Jan 11, 2003 at 12:44:36AM -0800, Kevin Dorne wrote:
> I never have known what struts were. Still don't.
as far as I can tell, two things.
the "main" thing is a MVC framework (model, view, controller... or how to split your project into a kabillion crazy classes... and some crazy xml to boot)
the secondary thing, which is cool, is some nice "custom" jsp tags.
together, making form input, validation, and output... a bit cleaner.
I'll let you peek around something as soon as I build it.
never trust a sample app ;)
Date: Sat, 11 Jan 2003 01:26:24 -0800
Subject: Re: struts version?
I'm... having trouble swallowing how arbitrary the whole thing is. It's done its best to make it as little like making a couple small programs and as much like making a telephone switchboard with lots of micro programs as possible. Where the telephone switchboard is a large xml, not-too-complicated but wholly "arbitrary" (in relation to java or html) document.
Date: Sat, 11 Jan 2003 04:53:33 -0800
Subject: struts (hmm)
not much to say.
finished the book.
haven't written an app yet.
don't have mysql on my machine so I can't test out the sample app too
I think I might have enough of a background to start to understand struts, now, though, which is much better than where I was 6 hours ago. :/
time ... time for some sleep, but I think I'm going to type up some more of my story now instead. :/
la la la.
a shower will be nice.
Date: Sun, 12 Jan 2003 03:43:48 -0800
Subject: getting into struts
nope, still haven't done a thing.
but here's some pretty cool stuff, I think.
* A Java-based Opensource (GPL License) development environment to
+assist in the rapid creation of Struts-based (currently Struts 1.1b)
+web applications. This standalone application allows users to create
+from scratch and/or import existing Struts 1.x struts-config.xml
+files, modify them via a forms-based GUI and generate the shell code
+including JSP/HTML pages, web.xml, struts-config.xml and java source
+files for Actions and ActionForms classes required for an
+implementation. Future enhancements include creating plugin versions
+for popular IDEs and the addition of a purely visual component for
+visualizing/editing the application model.http://demo.jgsullivan.com/~pjaromin/strutsbuilder/
* Rendering tables in HTML with capability of sorting, paging,
+multiple items operation can be tricky. If you're bulding web
+application using JSP/Servlet APIs and moreover using Struts, then
+this small (but with further plans) framework is what you need.https://sourceforge.net/projects/htmltable/
* Web menuing framework for JSP and Struts based applications. Menus
+can be defined in an XML file and displayed through the use of JSP
Date: Tue, 14 Jan 2003 03:31:03 -0800
Subject: struts (grumble?)
I've got to say, debugging struts when you don't know what you're doing is
a pain in the ass and confusing as fuck.
Part of that is I'm using sample code to try to get my feet wet... and I think I'm missing sample code from two projects... and don't remember where one of them came from. :/
Date: Tue, 14 Jan 2003 13:50:35 -0800
Subject: Re: struts (grumble?)
actually, I think my main gripe is struts isn't posting this code to the screen. possibly something I can do about that, but... I hate tailing debug files. :/
Date: Fri, 17 Jan 2003 01:55:37 -0800
Subject: resin (whine)
Just started looking for config info with resin because I'm having
trouble "converting" a struts sample into something useful...
I think it's web.xml stuff.
they moved the docs all over the place. it took me... half an hour
of reading through this or that to finally find what I was looking
Date: Fri, 17 Jan 2003 02:43:17 -0800
Subject: woes slightly overturned
hallefuckinluja -- http://alethe.net/struts-test/logon.jsp
+at least, it does what it's supposed to do. I'm still not UBER happy
+with struts, but I'm ecstatic that I got my itty bitty form to work.
+still no clue why it wouldn't before. but. oh well?
it's apparently nothing to do with my jsp, nor the classes. The
+classes are exactly the same and I copied in the jsp that's working
+over the jsp that wasn't.... the validation looks the same... the
+... I don't understand!!!!!!!
I still hate strut's seriously obscure and unhelpful error messages.
when something goes wrong in the "magic", the error ends there
without telling you a THING about what it was outside the magic
that the magic didn't understand. :/
hmm. that's a lot, but I know I did a lot MORE griping. probably just icq and irc with folks. I'm not going to hunt that down. this is enough. hopefully it's not too much for lj to swallow. :/