<%} %>
结束语
二十一世纪是一个高速、快捷的年代。在这个高速发展的年代里,速度成了我们追求的目标;二是提高工作效率;三是降低成本。因此,办公自动化的高速度、高效率、高便捷、低成本便成了我们的目的,为此开发了这个火车站网上订票系统。本系统可以大大简化退票、订票、查询等十分繁琐的工作,简化办公环节,提高工作效率,而且易学、易用,满足客户需求。
这次系统的设计从最开始的可行性研究,需求分析,到系统的总体设计,详细设计,再到编码、测试等的一个整体过程,使我真正明白了要做一个软件的难度,特别是要做一个真正可用的软件,就更难了。在老师和同学的帮助下,我把以往所学的软件工程、数据库知识结合起来,利用JSP 开发工具,加上SQL Server2000数据库系统,完成了本次课程设计,尽量使它能满足各个方面的要求。当然,我的个人能力有限,还有很多不足的地方,敬请谅解。
在这次课程设计过程中我遇到了不少的难题,比如数据库操作问题,界面设计问题,函数使用与实现问题,消息处理问题等等。其中,最关键的是在最初对系统的需求分析做的不透彻,导致后续设计工作乃至编码时的修改工作量变大。以至于为了能按时完成设计任务,我一连度过了几个通宵。尤其,越接近结束,就越是时常出现问题。所以,通过这次课程设
36
计我深刻体会到软件工程还是必须学精通点、学透彻点。
通过这次课程设计,我学会了如何对所学课程综合运用,巩固了软件工程的一般规范,对数据库的使用也有了更进一步了解。总体来说,课程设计让我学了不少知识。
我认为课程设计是我们学习生涯中相当重要的一课,除了验证学生的学习成果外,也是训练一个人独立思考及解决问题的能力.在这里,我要感谢指导老师和同学在这次课程设计中对我的帮助。
参考文献
[1]孙卫琴,李洪成.《Tomcat 与 Java Web 开发技术详解》.电子工业出版社,2003年6月:1-205
[2]BruceEckel.《Java编程思想》. 机械工业出版社,2003年10月:1-378 [3]FLANAGAN.《Java技术手册》. 中国电力出版社,2002年6月:1-465 [4]孙一林,彭波.《Java数据库编程实例》. 清华大学出版社,2002年8月:30-210 [5]Lee Anne Phillips.《巧学活用HTML4》.电子工业出版社,2004年8月:1-319 [6]飞思科技产品研发中心.《JSP应用开发详解》.电子工业出版社,2003年9月:32-300 [7]耿祥义,张跃平.《JSP实用教程》. 清华大学出版社,2003年5月1日:1-354 [8]孙涌.《现代软件工程》.北京希望电子出版社,2003年8月:1-246 [9]萨师煊,王珊.《数据库系统概论》.高等教育出版社,2002年2月:3,460 [10]Brown等.《JSP编程指南(第二版)》. 电子工业出版社 ,2003年3月:1-268 [11]清宏计算机工作室.《JSP编程技巧》. 机械工业出版社, 2004年5月:1-410 [12]朱红,司光亚.《JSP Web编程指南》.电子工业出版社, 2001年9月:34-307 [13]赛奎春.《JSP工程应用与项目实践》. 机械工业出版社, 2002年8月:23-294
37
They both knew it. And if she hadn't won an ecology essay competition and a prize of places for two aboard Sea Shepherd, neither of them would be here.
She rested her hand on Gary's shoulder and looked at him cheekily. "You may be a pain in the neck sometimes, but I'm glad you're coming with me."
As Southampton slid astern, Sea Shepherd nosed into the thumping waters of the English Channel. At that moment the sun squinted through a crack in the cloud. On the horizon the sky's grey paint was peeling, revealing blue. A good omen?
Gary followed Susan down the companionway. "See you at dinner," he said, before entering the cabin he shared with Norman. As one of the girls, Susan had Vanessa for a room-mate. Next door were Yves and Darren.
Susan hesitated outside her cabin, fiddled with her cardigan, ran a comb through her hair. Then, head held high, she made her entrance. Vanessa wasn't there. Susan relaxed, smiling at herself.
The smile faded fast. She's taken the bottom bunk! I was here first. Susan stared, glared at the fancy nightdress laid out on the pillow. Did she have the nerve to move it? No, not quite.
Fuming, she started to unpack. Sweaters, T-shirts, jeans, shorts and a dress. She yanked open the wardrobe door. A row of eye-catching outfits hung neatly on hangers. "It's like a fashion store," Susan muttered, shoving the hangers aside to make space for her own clothes.
In the bathroom she opened the mirror-fronted cabinet on the wall. It was crammed with bottles and jars. Perfume, shampoo, creams ... Susan slammed the cabinet shut and pulled a face in the glass.
Meanwhile Gary was trying to make friends with Norman. Hard work. Norman proved to be a very serious young man, much given to using long words. Must've swallowed a dictionary, Gary thought. But he kept up the conversation. Then the studious teenager produced a pack of cards and proceeded to do a series of conjuring tricks that made Glly could almost smell his breath-mustard gas and roses. It was a wrong number. Billy hung up. There was a soft drink bottle on the windowsill. Its label boasted that it contained no nourishment whatsoever.
The American fliers turned in their uniforms, became high school kids. And Hitler turned into a baby, Billy Pilgrim supposed. That wasn't in the movie. Billy was extrapolating. Everybody turned into a baby, and all humanity, without exception, conspired biologically to produce two perfect people named Adam and Eve, he supposed.
Billy saw the war movies backwards then forwards-and then it was time to go out into his backyard to meet the flying saucer. Out he went, his blue and ivory feet crushing the wet salad of the lawn. He stopped, took a swig, of the dead champagne. It was like 7-Up. He would not raise his eyes to the sky, though he knew there was a flying saucer from Tralfamadore up there. He would see it soon enough, inside and out, and he would see, too, where it came from soon enough-soon enough.
Overhead he heard the cry of what might have been a melodious owl, but it wasn't a melodious owl. It was a flying saucer from Tralfamadore, navigating in both space and time, therefore seeming to Billy Pilgrim to have come from nowhere all at once. Somewhere a big dog barked.
The saucer was one hundred feet in diameter, with portholes around its rim. The light from the portholes was a pulsing purple. The only noise it made was the owl song. It ca-me down to hover over Billy, and to enclose him in a cylinder of pulsing in purple light. Now there was the sound of a seeming kiss as an airtight hatch in the bottom of the saucer was opened. Down snaked a ladder that was outlined in pretty lights like a Ferris
wheel.
Billy's will was paralyzed by a zap gun aimed at him from one of the portholes. It became imperative that he take hold of the bottom rung of the sinuous ladder, which he did. The rung was electrified, so that Billy's hands locked onto it hard. He was hauled into the airlock, and machinery closed the bottom door. Only then did the ladder, wound onto a reel in the airlock, let him go. Only then did Billy's brain start working again.
There were two peepholes inside the airlock-with yellow eyes pressed to them. There was a speaker on the wall. The Tralfamadorians had no voice boxes. They communicated telepathicary. They were able to talk to Billy by means of a computer and a sort of electric organ which made every Earthling speech sound.
'Welcome aboard, Mr. Pilgrim,' said the loudspeaker. 'Any questions?'
Billy licked his lips, thought a while, inquired at last: 'Why me? '
That is a very Earthling question to ask, Mr. Pilgrim. Why you? Why us for that matter? Why anything? Because this moment simply is. Have you ever seen bugs trapped in amber?'
'Yes.' Billy in fact, had a paperweight in his office which was a blob of polished amber with three ladybugs embedded in it.
38
'Well, here we are, Mr. Pilgrim, trapped in the amber of this moment. There is no why.'
They introduced an anesthetic into Billy's atmosphere now, put him to sleep. They carded him to a cabin where he was strapped to a yellow Barca-Lounger which they had stolen from a Sears & Roebuck warehouse. The hold of the saucer was crammed with other stolen merchandise, which would be used to furnish Billy's artificial habitat in a zoo on Tralfamadore.
The terrific acceleration of the saucer as it left Earth twisted Billy's slumbering body, distorted his face, dislodged him m time, sent him back to the war.
When he regained consciousness, he wasn't on the flying saucer. He was in a boxcar crossing Germany again.
Some people were rising from the floor of the car, and others were lying down. Billy planned to He down, too. It would be lovely to sleep. It was black in the car, and black outside the car, which seemed to be about two miles an hour. The car never seemed to go any faster than that. It was a long time between clicks, between joints in the track. There would be a click, and then a year would go by, and then there would be another click
The train often stopped to let really important trains bawl and hurtle by. Another thing it did was stop on sidings near prisons, leaving a few cars there. It was creeping across all of Germany, growing shorter all the time.
And Billy let himself down oh so gradually now, hanging onto the diagonal cross-brace in the comer in order to make himself seem nearly weightless to those he was joining on the floor. He knew it was important that he made himself nearly ghostlike when lying down. He had forgotten why, but a reminder soon came.
'Pilgrim,' said a person he was about to nestle with, 'is that you?'
Billy didn't say anything, but nestled very politely, closed his eyes.
'God damn it' said the person. 'That is you, isn't it?' He sat up and explored Billy rudely with his hands. 'It's you, all right. Get the hell out of here.'
Now Billy sat up, too-wretched, close to tears.
'Get out of here! I want to sleep!'
'Shut up,' said somebody else.
'I'll shut up when Pilgrim gets away from here.'
So Billy stood up again, clung to the cross-brace. 'Where can I sleep?' he asked quietly.
'Not with me.'
'Not with me, you son of a bitch,' said somebody else. 'You yell. You kick.'
'I do?'
"You're God damn right you do. And whimper.'
'I do?'
'Keep the hell away from here., Pilgrim.'
And now there was an acrimonious madrigal, with parts sung in all quarters of the car. Nearly everybody seemingly, had an atrocity story of something Billy Pilgrim had done to him in his sleep. Everybody told Billy Pilgrim to keep the hell away.
So Billy Pilgrim had to sleep standing up, or not sleep at all. And food had stopped coming in through the ventilators, and the days and nights were colder all the time.
On the eighth day, the forty-year-old hobo said to Billy, 'This ain't bad. I can be comfortable anywhere.'
'You can?' said Billy.
On the ninth day, the hobo died. So it goes. His last words were, 'You think this is bad? This ain't bad.'
There was something about death and the ninth day. There was a death on the ninth day in the car ahead of Billy's too. Roland Weary died-of gangrene that had started in his mangled feet. So it goes.
Weary, in his nearly continuous delirium, told again and again of the Three Musketeers, acknowledged that he was dying, gave many messages to be delivered to his family in Pittsburgh. Above all, he wanted to be avenged, so he said again and again the name of the person who had killed him. Everyone on the car learned the lesson well. very morning, and polish up the old-fashioned spoons, the fat silver teapot, and the glasses till they shone. Then she must dust the room, and what a trying job that was. Not a speck escaped Aunt March's eye, and all the furniture had claw legs and much carving, which was never dusted to suit. Then Polly had to be fed, the lap dog combed, and a dozen trips upstairs and down to get things or deliver orders, for the old lady was very lame and seldom left her big chair. After these tiresome labors, she must do her lessons, which was a daily trial of every virtue she possessed. Then she was allowed one hour for exercise or play, and didn't she enjoy it?
Laurie came every day, and wheedled Aunt March till Amy was allowed to go out with him, when they walked and rode and had capital times. After dinner, she had to read aloud, and sit still while the old lady slept, which she usually did for an hour, as she dropped off over the first page. Then patchwork or towels appeared, and Amy sewed with outward meekness and inward rebellion till dusk, when she was allowed to amuse herself as she liked till teatime. The evenings were the worst of all, for Aunt March fell to telling long stories about her youth, which were so unutterably dull that Amy was always ready to
39
go to be, intending to cry over her hard fate, but usually going to sleep before she had squeezed out more than a tear or two.
If it had not been for Laurie, and old Esther, the maid, she felt that she never could have got through that dreadful time. The parrot alone was enough to drive her distracted, for he soon felt that she did not admire him, and revenged himself by being as mischievous as possible. He pulled her hair whenever she came near him, upset his bread and milk to plague her when she had newly cleaned his cage, made Mop bark by pecking at him while Madam dozed, called her names before company, and behaved in all respects like an reprehensible old bird. Then she could not endure the dog, a fat, cross beast who snarled and yelped at her when she made his toilet, and who lay on his back with all his legs in the air and a most idiotic expression of countenance when he wanted something to eat, which was about a dozen times a day. The cook was bad-tempered, the old coachman was deaf, and Esther the only one who ever took any notice of the young lady.
Esther was a Frenchwoman, who had lived with`Madame', as she called her mistress, for many years, and who rather tyrannized over the old lady, who could not get along without her. Her real name was Estelle, but Aunt March ordered her to change it, and she obeyed, on condition that she was never asked to change her religion. She took a fancy to Mademoiselle, and amused her very much with odd stories of her life in France, when Amy sat with her while she got up Madam's laces. She also allowed her to roam about the great house, and examine the curious and pretty things stored away in the big wardrobes and the ancient chests, for Aunt March hoarded like a magpie. Amy's chief delight was an Indian cabinet, full of queer drawers, little pigeonholes, and secret places, in which were kept all sorts of ornaments, some precious, some merely curious, all more or less antique. To examine and arrange these things gave Amy great satisfaction, especially the jewel cases, in which on velvet cushions reposed the ornaments which had adorned a belle forty years ago. There was the garnet set which Aunt March wore when she came out, the pearls her father gave her on her wedding day, her lover's diamonds, the jet mourning rings and pins, the queer lockets, with portraits of dead friends and weeping willows made of hair inside, the baby bracelets her one little daughter had worn, Uncle March's big watch, with the red seal so many childish hands had played with, and in a box all by itself lay Aunt March's wedding ring, too small now for her fat finger, but put carefully away like the most precious jewel of them all. "Which would Mademoiselle choose if she had her will?" asked Esther, wo always sat near to watch over and lock up the valuables.
"I like the diamonds best, but there is no necklace among them, and I'm fond of necklaces, they are so becoming. I should choose this if I might," replied Amy, looking with great admiration at a string of gold and ebony beads from which hung a heavy cross of the same.
"I, too, covet that, but not as a necklace. Ah, no! To me it is a rosary, and as such I should use it like a good catholic," said Esther, eyeing the handsome thing wistfully.
"Is it meant to use as you use the string of good-smelling wooden beads hanging over your glass?" asked Amy. "Truly, yes, to pray with. It would be pleasing to the saints if one used so fine a rosary as this, instead of wearing it as a vain bijou."
"You seem to take a great deal of comfort in your prayers, Esther, and always come down looking quiet and satisfied. I wish I could."
"If Mademoiselle was a Catholic, she would find true comfort, but as that is not to be, it would be well if you went apart each day to meditate and pray, as did the good mistress whom I served before Madame. She had a little chapel, and in it found solacement for much trouble."
"Would it be right for me to do so too?" asked Amy, who in her loneliness felt the need of help of some sort, and found that she was apt to forget her little book, now that Beth was not there to remind her of it.
"It would be excellent and charming, and I shall gladly arrange the little dressing room for you if you like it. Say nothing to Madame, but when she sleeps go you and sit alone a while to think good thoughts, and pray the dear God preserve your sister."
Esther was truly pious, and quite sincere in her advice, for she had an affectionate heart, and felt much for the sisters in their anxiety. Amy liked the idea, and gave her leave to arrange the light closet next her room, hoping it would do her good.
"I wish I knew where all these pretty things would go when Aunt March dies," she said, as she slowly replaced the shining rosary and shut the jewel cases one by one.
"To you and your sisters. I know it, Madame confides in me. I witnessed her will, and it is to be so," whispered Esther smiling.
"How nice! But I wish she'd let us have them now. Procrastination is not agreeable," observed Amy, taking a last look at the diamonds.
"It is too soon yet for the young ladies to wear these things. The first one who is affianced will have the pearls, Madame has said it, and I have a fancy that the little turquoise ring will be given to you when you go, for Madame approves your good behavior and charming manners."
"Do you think so? Oh, I'll be a lamb, if I can only have that lovely ring! It's ever so much prettier than Kitty Bryant's. I do like Aunt March after all." And Amy tried on the blue ring with a delighted face and a firm resolve to earn it.
From that day she was a model of obedience, and the old lady complacently admired the success of her training. Esther fitted up the closet with a little table, placed a footstool before it, and over it a picture taken from one of the shut-up rooms. She thought it was of no great value, but, being appropriate, she borrowed it, well knowing that Madame would never know it, nor care if she did. It was, however, a very valuable copy of one of the famous pictures of the world, and Amy's beauty-loving eyes were never tired of looking up at the sweet face of the Divine Mother, while her tender thoughts of her own were busy at her heart. On the table she laid her little testament and hymnbook, kept a vase always full of the best flowers Laurie brought her, and came every day to `sit alone' thinking good thoughts, and praying the dear God to preserve her sister. Esther had given her a rosary of black beads with a silver cross, but Amy hung it up and did not use it, feeling doubtful as to its fitness for Protestant prayers. The little girl was very sincere in all this, for being left alone outside the safe home nest, she felt the need of some kind hand to hold by so sorely that she instinctively turned to the strong and tender Friend, whose fatherly love most closely surrounds His little children. She missed her mother's help to understand and rule herself, but having been taught where to look, she did her best to find the way and walk in it confidingly. But Amy was a young pilgrim, and just now her burden seemed very heavy. She tried to forget herself, to keep cheerful, and be satisfied with doing right, though no one saw or praised her for it. In her firsteffort at being very, very good, she decided to make her will, as Aunt March had done, so that if she did fall ill and die, her possessions might be justly and generously divided. It cost her a pang
40
even to think of giving up the little treasures which in her eyes were as precious as the old lady's jewels. During one of her play hours she wrote out the important document as well as she could, with some help from Esther as to certain legal terms, and when the good-natured Frenchwoman had signed her name, Amy felt relieved and laid it by to show Laurie, whom she wanted as a second witness. As it was a rainy day, she went upstairs to amuse herself in one of the large chambers, and took Polly with her for company. In this room there was a wardrobe full of old-fashioned costumes with which Esther allowed her to play, and it was her favorite amusement to array herself in the faded brocades, and parade up and down before the long mirror, making stately curtsies, and sweeping her train about with a rustle which delighted her ears. So busy was she on this day that she did not hear Laurie's ring nor see his face peeping in at her as she gravely promenaded to and fro, flirting her fan and tossing her head, on which she wore a great pink turban, contrasting oddly with her blue brocade dress and yellow quilted petticoat. She was obliged to walk carefully, for she had on highheeled shoes, and, as Laurie told Jo afterward, it was a comical sight to see her mince along in her gay suit,
"Oh, dear, how hard it does seem to take up our packs and go on," sighed Meg the morning after the party, for now the holidays were over, the week of merrymaking did not fit her for going on easily with the task she never liked.
"I wish it was Christmas or New Year's all the time. Wouldn't it be fun?" answered Jo, yawning dismally. "We shouldn't enjoy ourselves half so much as we do now. But it does seem so nice to have little suppers and bouquets, and go to parties, and drive home, and read and rest, and not work. It's like other people, you know, and I always envy girls who do such things, I'm so fond of luxury," said Meg, trying to decide which of two shabby gowns was the least shabby.
"Well, we can't have it, so don't let us grumble but shoulder our bundles and trudge along as cheerfully as Marmee does. I'm sure Aunt March is a regular Old Man of the Sea to me, but I suppose when I've learned to carry her without complaining, she will tumble off, or get so light that I shan't mind her." This idea tickled Jo's fancy and put her in good spirits, but Meg didn't brighten, for her burden, consisting of four spoiled children, seemed heavier than ever. She had not heart enough even to make herself pretty as usual by putting on a blue neck ribbon and dressing her hair in the most becoming way.
"Where's the use of looking nice, when no one sees me but those cross midgets, and no one cares whether I'm pretty or not?" she muttered, shutting her drawer with a jerk. "I shall have to toil and moil all my days, with only little bits of fun now and then, and get old and ugly and sour, because I'm poor and can't enjoy my life as other girls do. It's a shame!"
So Meg went down, wearing an injured look, and wasn't at all agreeable at breakfast time. Everyone seemed rather out of sorts and inclined to croak.
Beth had a headache and lay on the sofa, trying to comfort herself with the cat and three kittens. Amy was fretting because her lessons were not learned, and she couldn't find her rubbers. Jo would whistle and make a great racket getting ready.
Mrs. March was very busy trying to finish a letter, which must go at once, and Hannah had the grumps, for being up late didn't suit her.
"There never was such a cross family!" cried Jo, losing her temper when she had upset an inkstand, broken both boot lacings, and sat down upon her hat.
"You're the crossest person in it!" returned Amy, washing out the sum that was all wrong with the tears that had fallen on her slate.
"Beth, if you don't keep these horrid cats down cellar I'll have tung at the fireplace, and for a moment she felt as much disappointed as she did long ago, when her little sock fell down because it was crammed so full of goodies. Then she remembered her mother's promise and, slipping her hand under her pillow, drew out a little crimson-covered book. She knew it very well, for it was that beautiful old story of the best life ever lived, and Jo felt that it was a true guidebook for any pilgrim going on a long journey. She woke Meg with a "Merry Christmas," and bade her see what was under her pillow. A green- covered book appeared, with the same picture inside, and a few words written by their mother, which made their one present very precious in their eyes. Presently Beth and Amy woke to rummage and find their little books also, one dove-colored, the other blue, and all sat looking at and talking about them, while the east grew rosy with the coming day.
In spite of her small vanities, Margaret had a sweet and pious nature, which unconsciously influenced her sisters, especially Jo, who loved her very tenderly, and obeyed her because her advice was so gently given.
"Girls," said Meg seriously, looking from the tumbled head beside her to the two little night-capped ones in the room beyond, "Mother wants us to read and love and mind these books, and we must begin at once. We used to be faithful about it, but since Father went away and all this war trouble unsettled us, we have neglected many things. You can do as you please, but I shall keep my book on the table here and read a little every morning as soon as I wake, for I know it will do me good and help me through the day." Then she opened her new book and began to read. Jo put her arm round her and, leaning cheek to cheek, read also, with the quiet expression so seldom seen on her restless face.
"How good Meg is! Come, Amy, let's do as they do. I'll help you with the hard words, and they'' explain things if we don't understand," whispered Beth, very much impressed by the pretty books and her sisters, example.
"I'm glad mine is blue," said Amy. and then the rooms were very still while the pages were softly turned, and the winter sunshine crept in to touch the bright heads and serious faces with a Christmas greeting. "Where is Mother?" asked Meg, as she and Jo ran down to thank her for their gifts, half an hour later.
"Goodness only knows. some poor creeter came a-beggin', and your ma went straight off to see what was needed. There never was such a woman for givin' away vittles and drink, clothes and firin'," replied Hannah, who had lived with the family since Meg was born, and was considered by t and stalked out again. These turnovers were an institution, and the girls called them `muffs', for they had no others and found the hot pies very comforting to their hands on cold mornings.
Hannah never forgot to make them, no matter how busy or grumpy she might be, for the walk was long and bleak. The poor things got no other lunch and were seldom home before two.
"Cuddle your cats and get over your headache, Bethy. Goodbye, Marmee. We are a set of rascals this morning, but we'll come home regular angels. Now then, Meg!" And Jo tramped away, feeling that the pilgrims were not setting out as they ought to do.
41
They always looked back before turning the corner, for their mother was always at the window to nod and smile, and wave her hand to them. Somehow it seemed as if they couldn't have got through the day without that, for whatever their mood might be, the last glimpse of that motherly face was sure to affect them like sunshine. "If Marmee shook her fist instead of kissing her hand to us, it would serve us right, for more ungrateful wretches than we are were never seen," cried Jo, taking a remorseful satisfaction in the snowy walk and bitter wind. "Don't use such dreadful expressions," replied Meg from the depths of the veil in which she had shrouded herself like a nun sick of the world.
"I like good strong words that mean something," replied Jo, catching her hat as it took a leap off her head preparatory to flying away altogether.
"Call yourself any names you like, but I am neither a rascal nor a wretch and I don't choose to be called so." "You're a blighted being, and decidedly cross today because
42