?

Log in

No account? Create an account

Previous Entry | Next Entry

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.

Hmm.

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?
> http://hibernate.bluemars.net/

very weird.

kinda cool. :)



Date: Mon, 6 Jan 2003 12:49:10 -0800
Subject: hibernate

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
Subject: hibernate

I'm trying to be excited about it.

downloaded 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 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.

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,
alias VARCHAR(255),
primary key (id)
)

have you ever seen "generated by default as identity"?

weird.

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://www.mail-archive.com/struts-user@jakarta.apache.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 eh.




Date: Thu, 9 Jan 2003 19:17:45 -0800
Subject: weird reading

the quoted email in the core of this is someone making a decision for java
lobby to go with hibernate over some other package.

just. weird. weird to be reading from an outsider's perspective. :/

http://cato.usermagnet.com/pipermail/jl-volunteers/2002-November/000783.html



Date: Fri, 10 Jan 2003 00:36:46 -0800
Subject: trying to pick a plunge

here's a simple howto:

http://radio.weblogs.com/0100136/stories/2002/11/15/eclipseResinWebworkHiberna.html

"Eclipse + Resin + WebWork + Hibernate = Sah-WEET!"

eclipse is easy enough to ignore. it's an IDE.

resin and hibernate I'm essentially sold on.

so it tells me how to do what I want with webwork. which seems a nice
+enough technlogy.

[and here's barracuda's take on all the other options]:
http://barracuda.enhydra.org/cvs_source/Barracuda/docs/landscape.html



Date: Fri, 10 Jan 2003 02:41:07 -0800
Subject: stxx

http://www.openroad.ca/opencode/stxx/index.html

["]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.

[...]

but... grr:

"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
thoroughly.

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.

brainfried.

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
+tags. Support for dynamic javascript menus is included.

http://sourceforge.net/projects/struts-menu/




Date: Sun, 12 Jan 2003 07:03:10 -0800
Subject: more struts

going through

http://developer.bluestone.com/Scripts/SaIsapi.dll/StrutsTrailMap.clas
+s/struts-trailmap/Trail1.htm

finding it... nice, hands on, ... la la la.

more legible in IE than mozilla (#*$&^#&*$ background graphics...)



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
for. :/




Date: Fri, 17 Jan 2003 02:43:17 -0800
Subject: woes slightly overturned

hallefuckinluja -- http://alethe.net/struts-test/logon.jsp it works.
+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. :/

Comments

( 6 comments — Leave a comment )
zapevaj
Jan. 17th, 2003 12:05 pm (UTC)
GRE? Isn't that a grad-school extrance exam thingy? Cool! Best of luck, Kao...
kaolinfire
Jan. 17th, 2003 02:03 pm (UTC)
it is indeed, though I'm not sure if I'm going to apply or not. it's in 3 parts, one written which takes 2 weeks to grade (typed, really), and two multichoice. I got a 680/800 verbal and 780/800 math. not bad for no studying, no test taking in forever, and no school in even longer. :)
zapevaj
Jan. 17th, 2003 02:25 pm (UTC)
*choke* Yeah, I consider those good scores. You're going to major in something mathy, right? Your math score is dman near phenomenal...

Also, I like the new usericon (the abstract greenyblueyellow one that you made this post with).
shamster
Jan. 17th, 2003 02:32 pm (UTC)
Yes, I saw that painting on your site and loved it. Then I saw it in person at your place in oakland, and loved it more.

Then, I came to know love in the biblical sense of the word.
kaolinfire
Jan. 18th, 2003 04:54 pm (UTC)
:heheh: thanks. :)
kaolinfire
Jan. 18th, 2003 04:54 pm (UTC)
neuroscience, likely. if I can pull it off. I'm really not that good with math.

the odd thing is I scored in about the same percentile with both tests, I think. an 800 is 94%, a 700 about 71%. So I'm figuring (the scale being somewhat linear from 500 to 800) that I placed around 87%. The verbal was not really linear, but still looks at least like a simple curve. 800-99%, 700-97%, 600-85%, 500-59%. I'm figuring something like a 93% there.

The difference being: they expect you to have a very erudite vocabulary, for some reason (seriously, there were some fucking obscure words), while they expect you to have backslid on your math. Supposedly, it's easier than SAT math. (though I did feel some of the questions were a bit tricksier, but...)

That's my favorite painting to date. Wish I could do more like it. As eric mentioned, I have it larger on one of my sites: http://alethe.net :)
( 6 comments — Leave a comment )

Latest Month

February 2016
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829     

Tags

Page Summary

Powered by LiveJournal.com
Designed by chasethestars