Java EE Development With Eclipse 1st Edition Vohra Deepak - The Latest Ebook Edition With All Chapters Is Now Available
Java EE Development With Eclipse 1st Edition Vohra Deepak - The Latest Ebook Edition With All Chapters Is Now Available
com
https://textbookfull.com/product/java-ee-development-with-
eclipse-1st-edition-vohra-deepak/
OR CLICK HERE
DOWLOAD EBOOK
https://textbookfull.com/product/java-ee-development-with-eclipse-
second-edition-ram-kulkarni/
textbookfull.com
https://textbookfull.com/product/java-ee-7-development-with-
netbeans-8-1st-edition-heffelfinger-david-r/
textbookfull.com
https://textbookfull.com/product/java-ee-7-development-with-
wildfly-1st-edition-cmil-michal-matloka-michal-marchioni-francesco/
textbookfull.com
https://textbookfull.com/product/kubernetes-management-design-
patterns-with-docker-coreos-linux-and-other-platforms-1st-edition-
deepak-vohra/
textbookfull.com
Building RESTful Web Services with Java EE 8 Create modern
RESTful web services with the Java EE 8 API Mario-Leander
Reimer
https://textbookfull.com/product/building-restful-web-services-with-
java-ee-8-create-modern-restful-web-services-with-the-java-ee-8-api-
mario-leander-reimer/
textbookfull.com
https://textbookfull.com/product/java-ee-6-pocket-guide-a-quick-
reference-for-simplified-enterprise-java-development-1st-edition-
gupta-arun/
textbookfull.com
https://textbookfull.com/product/java-ee-6-with-
glassfish-3-application-server-1st-edition-heffelfinger-david/
textbookfull.com
Deepak Vohra
BIRMINGHAM - MUMBAI
Java EE Development with Eclipse
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
ISBN 978-1-78216-096-0
www.packtpub.com
Reviewers Proofreader
Filippo Bosi Maria Gould
Frank Nimphius
Federico Tomassetti Indexer
Tejal R. Soni
Phil Wilkins
Production Coordinator
Acquisition Editors
Conidon Miranda
Mary Nadar
Dhwani Devater
Cover Work
Conidon Miranda
Lead Technical Editors
Sweny M. Sukumaran
Neeshma Ramakrishnan
Technical Editors
Sharvari Baet
Devdutt Kulkarni
About the Author
He has been working for more than 25 years in the computer programming
field. He started his career as a freelance consultant and writer for some Italian
computer magazines, while at the same time offering freelance consultancies in
the first years that banking and insurance companies were starting to move away
from mainframes in order to implement their business.
In the last four years, he's been involved in redesigning from scratch the entire
information system of a banking institution in an SOA fashion, in studying ways
to apply Semantic Web technologies to address Enterprise Architecture and
Knowledge Management problems for some Italian large banking and insurance
companies, and an European project (Cloud4SOA – www.cloud4soa.eu) that
attempts, through the use of semantics, to address the portability of applications
and data between different PaaS providers.
Phil Wilkins has spent nearly 25 years in the software industry working with both
multinationals and software startups. He started out as a developer and has worked
his way up through technical and development management roles. The last 12 years
have been primarily in Java based environments. He now works as an architect with
an enterprise wide technical remit within the IT group for a global optical healthcare
manufacturer and retailer.
When not immersed in work and technology, he spends his down time pursing his
passion for music and time with his wife and two boys.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub
files available? You can upgrade to the eBook version at www.PacktPub.com and as a print
book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
[email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and eBooks.
TM
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book
library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
• On demand and accessible via web browser
[ ii ]
Table of Contents
[ iii ]
Table of Contents
[ iv ]
Preface
Java Platform, Enterprise Edition (Java EE) 6 is the industry standard for enterprise
Java computing. Eclipse IDE for Java EE developers is the most commonly used Java
IDE for Java EE development. Eclipse IDE for Java EE developers supports Java EE 5
completely and also supports several features from Java EE 6.
The Oracle WebLogic Server product line is the industry's most comprehensive
platform for developing, deploying, and integrating enterprise applications. Oracle
Enterprise Pack for Eclipse provides a set of plugins (project facets) for Eclipse
development with WebLogic Server.
While a number of books are available on Eclipse IDE for Java Developers, none or
very few are available on Eclipse IDE for Java EE Developers. In this book, we shall
discuss Java EE development in Eclipse IDE for Java EE developers. While it is not
feasible to cover all of the more than 30 technologies in the Java EE stack (http://
www.oracle.com/technetwork/java/javaee/tech/index.html), we shall discuss
the most commonly used Java EE technologies, especially the ones Eclipse IDE
for Java EE developers (or Oracle Enterprise Pack for Eclipse) provides Project for
Facets. Oracle Enterprise Pack for Eclipse is just an enhancement of Eclipse IDE for
Java EE developers with integrated support for Oracle WebLogic Server.
Preface
The objective of the book is to discuss how a developer would develop Java EE
applications using commonly used Java EE technologies and frameworks in
Eclipse IDE for Java EE developers. The book covers all aspects of application
development including:
Chapter 2, O/X Mapping with JAXB 2.x discusses the Object/XML (O/X) bi-directional
mapping provided by the JAXB framework. We discuss the advantages of JAXB 2.x
over JAXB 1.0. We create a JAXB web project using the JAXB project facet. We use
the EclipseLink 2.4 persistence provider. We create an XML Schema and generate
JAXB classes from the XML Schema using JAXB schema compilation. Subsequently,
we marshall an XML document from a Java Document Object Model (DOM)
document object, and also unmarshall an XML document using the compiled Java
classes. We map an annotated Java class to an XML document using the annotations
API. We also demonstrate the support for mapping Java classes to an XML Schema.
Chapter 3, Developing a Web Project for JasperReports demonstrates the use of the
Oracle Enterprise Pack for Eclipse's integrated support for Oracle WebLogic Server
to deploy and run any web application that requires an application server. First, we
configure an Oracle database data source in WebLogic Server. We create and deploy
a web application for JasperReports to the WebLogic Server, and subsequently run
the web application to create PDF and Excel reports.
[2]
Preface
Chapter 4, Creating a JSF Data Table discusses how to use the JavaServer Faces project
facet to create a JSF data table. First, we create a web project. Subsequently, we create
a managed bean, create a JSF page, add a JSF data table to the JSF page, and run the
JSF web application on the integrated WebLogic Server to create a JSF data table.
Chapter 6, Creating Apache Trinidad User Interfaces discusses the Trinidad project
facet. Trinidad was formerly Oracle ADF Faces and provides a set of user interface
components. First, we create a web project and add the Trinidad project facet to it.
Subsequently, we create JSPs to create and find a catalog entry in Oracle database.
We add Trinidad components to the JSP pages. We run the Trinidad application in
the integrated WebLogic Server.
Chapter 8, Creating a JAX-WS Web Service discusses how to use the Java API for XML
web services (JAX-WS) to create a web service. First, we create a web service project,
which has the Oracle WebLogic web service project facet associated with it. We
test the web service on the server and generate a WSDL, which we test in the web
explorer. We create a client class for the web service and package, then deploy and
test the web service on the WebLogic Server.
[3]
Preface
Chapter 9, RESTful Web Services Using the JAX-RS API discusses RESTful web services
using Java API for RESTful web services (JAX-RS), which are specified in the JSR
311 specification. We use the JAX-RS project facet for the RESTful web service. We
create a Resource class, which is exposed as a URI path using the @PATH annotation.
Subsequently, we create a Jersey Client API to test the web service.
Chapter 10, Spring discusses how to create a Spring framework application using
the Spring project facet. We discuss method interception with a method interceptor
and a Spring client. We also discuss Aspect Oriented Programming (AOP) in
combination with JSF. We discuss creating a Spring bean, a bean
definition file, and an AOP JavaBean.
[4]
Preface
Conventions
In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.
Code words in text are shown as follows: "The catalog.xsd Schema gets parsed
and compiled."
When we wish to draw your attention to a particular part of a code block, the
relevant lines or items are set in bold:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/catalog"
xmlns:catalog="http://www.example.org/catalog"
elementFormDefault="qualified">
<xsd:element name="catalog" type="catalog:catalogType" />
New terms and important words are shown in bold. Words that you see on the
screen, in menus or dialog boxes for example, appear in the text like this: "clicking
the Next button moves you to the next screen".
[5]
Preface
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or may have disliked. Reader feedback is important for
us to develop titles that you really get the most out of.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
do happen. If you find a mistake in one of our books—maybe a mistake in the text or
the code—we would be grateful if you would report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
book. If you find any errata, please report them by visiting http://www.packtpub.
com/support, selecting your book, clicking on the errata submission form link, and
entering the details of your errata. Once your errata are verified, your submission
will be accepted and the errata will be uploaded to our website, or added to any list
of existing errata, under the Errata section of that title.
[6]
Preface
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all
media. At Packt, we take the protection of our copyright and licenses very
seriously. If you come across any illegal copies of our works, in any form,
on the Internet, please provide us with the location address or website name
immediately so that we can pursue a remedy.
We appreciate your help in protecting our authors, and our ability to bring you
valuable content.
Questions
You can contact us at [email protected] if you are having a problem
with any aspect of the book, and we will do our best to address it.
Copyright Credits
Some of the contents of this book were originally published by Oracle Technology
Network and http://home.java.net/. They are republished with the permission
of Oracle Corporation.
[7]
EJB 3.0 Database
Persistence
EJB's entity beans are the most common technology for database persistence.
Developing entity EJBs requires a Java IDE, an application server, and a relational
database. Eclipse 3.7 provides wizards for developing entity beans and session
facades. In this chapter, we shall develop EJB 3.0 entity beans including session
facades. We shall deploy the EJB application to WebLogic Server 12c (12.1.1) and
test database persistence with the Oracle database 11g XE.
In this chapter, we shall learn the following:
[ 10 ]
Chapter 1
In Create a New JDBC Data Source, specify a data source name and JNDI Name
(for example, jdbc/OracleDS) for the data source. The database shall be accessed
using JNDI Name lookup in the Creating a session bean facade section. Select
Database Type as Oracle and click on Next as shown in the following screenshot:
[ 11 ]
EJB 3.0 Database Persistence
In JDBC Data Source Properties, select Database Driver as Oracle's Driver (Thin
XA). Another JDBC driver may also be selected based on requirements. Refer to
the Selection of the JDBC Driver document available at http://docs.oracle.com/
cd/E14072_01/java.112/e10590/keyprog.htm#i1005587 for selecting a suitable
JDBC driver. Click on Next as shown in the following screenshot:
By default, an XA JDBC driver supports global transactions and uses the Two-Phase
Commit global transaction protocol. Global transactions are recommended for EJBs
using container managed transactions for relation between the JDBC driver (XA or
non-XA) transactionality and EJB container managed transactions. Click on Next as
shown in the following screenshot. (for more information on global transactions, refer
http://docs.oracle.com/cd/E23943_01/web.1111/e13737/transactions.htm):
[ 12 ]
Chapter 1
Specify Database Name as XE, Host Name as localhost, Port as 1521, Database User
Name and Password as OE, and click on Next as shown in the following screenshot:
[ 13 ]
EJB 3.0 Database Persistence
The Driver Class Name textbox and connection URL textbox get configured. Click
on the Test Configuration button to test the database connection. If a connection gets
established the message Connection test succeeded. gets displayed. Click on Next as
shown in the following screenshot:
In Select targets, select the AdminServer option and click on Finish. A data source
gets added to the data sources table. The data source configuration may be modified
by clicking on the data source link as shown in the following screenshot:
[ 14 ]
Chapter 1
As Oracle database does not support the autoincrement of primary keys, we need
to create sequences for autoincrementing, one for each table. Create sequences
CATALOG_SEQ, EDITION_SEQ, SECTION_SEQ, and ARTICLE_SEQ with the following
SQL script.
[ 15 ]
EJB 3.0 Database Persistence
We also need to create join tables between tables. Create join tables using the
following SQL script:
CREATE TABLE CATALOGEDITIONS(catalogId INTEGER, editionId INTEGER);
CREATE TABLE EditionCatalog(editionId INTEGER, catalogId INTEGER);
CREATE TABLE EditionSections (editionId INTEGER, sectionId INTEGER);
CREATE TABLE SectionEdition (sectionId INTEGER, editionId INTEGER);
CREATE TABLE SectionArticles(sectionId INTEGER, articleId INTEGER);
CREATE TABLE ArticleSection(articleId INTEGER, sectionId INTEGER);
[ 16 ]
Chapter 1
Specify a Project name and click on New Runtime to configure a target runtime
for Oracle WebLogic Server 12c if not already configured, as shown in the
following screenshot:
In New Server Runtime Environment, select the Oracle WebLogic Server 12c
(12.1.1) server, tick Create a new local server checkbox, and then click on
Next as shown in the following screenshot:
[ 17 ]
Random documents with unrelated
content Scribd suggests to you:
was standing in the stern sheets and steadying himself with the
yoke-lines.
The gust that had blown the Bird of Freedom upon her beam ends
had precipitated Rogers and Payne into the bitterly cold water.
Weighed down by their heavy clothing and sea boots, they had sunk
immediately.
By this time, Leslie had nearly recovered from the effects of the
Bird of Freedom's attempt to turn turtle, but on the back of his head
a lump the size of a pigeon's egg had already appeared, while his
left hand was grazed from wrist to elbow.
"We stuck hard at it, sir," he replied. "But how did you fare over
there?"
And he pointed in the direction of Observation Camp, where Claude
Ranworth's expedition was supposed to be awaiting relief.
He broke off. The horrible suspicion which had but recently sprung
up in his mind was becoming more and more pronounced.
"There may yet be time," he said. "Ask for two more volunteers,
Captain. We'll make another start at once."[33]
CHAPTER XIII
THE DASH FOR OBSERVATION CAMP
"H'm; it's a pity. I'm afraid, Leslie, I must ask for your assistance
once more."
"Only too pleased, sir," replied the lad, his eyes sparkling with
delight.
"It's hard lines after having your skull well-nigh cracked, to say
nothing of other hardships."
"I hardly feel it," declared Leslie. "But how about Guy? Can he
come, too?"
"It might be Monday for all I know," said Guy. "This midnight sun
business has muddled me up entirely—not that I am complaining. I
only hope we won't have to put in a six months' night; that must be
horrible."
For one reason, there was to be no more sea work; the sleigh's
course—except for the ascent of the inlet—lay across the frozen
plains, snow-clad mountains and treacherous crevasses. For another,
the carrying capacity of the Bird of Freedom was somewhat limited.
It was just possible she could accommodate all the survivors of
Claude Ranworth's party. Failing that, two trips would have to be
made.
For three miles the Bird of Freedom threaded her way up the
tortuous and ever-narrowing creek, until further progress by water
was barred by the abrupt termination of the water-way.
Cautiously the sleigh approached the end of the glacier. Here the
ice slid gently towards the waters of the inlet. The surmounting of
the glacier would be an easy matter provided the ice would bear, for
the surface, mottled by pieces of rock and small stones, afforded a
good grip to her decapod wheels.
Like a seal dragging itself clear of the water, the Bird of Freedom
began the ascent of the glacial river. Under her weight, the ice
creaked ominously.
Quite a hundred feet from the edge, and twenty feet above the sea
level, the sleigh made its way, till its progress was stopped by a
stretch of clear ice terminating at a ridge of large, smooth boulders
extending from side to side of the ravine.
"In time, by the process known as regelation, the boulders will sink
through the solid ice," he explained. "What has happened fairly
recently is that an avalanche has toppled these stones upon the ice.
See, they have already sunk deeply into it. Nothing short of a
powerful explosion would shift them. Put her on the runners for
crossing this smooth patch, Leslie. We must find the most likely
place to make an attempt to surmount the ridge."
Leaving Leslie in charge, the rest of the crew alighted, and, with
considerable difficulty, for the cold seemed to cut through their fur
clothing and make their limbs sluggish and almost devoid of feeling,
surmounted the line of boulders. Beyond was a heap of small stones
which had quite recently slipped from the cliffs above.
Ranworth worked his two assistants hard, but he did not spare
himself. Within the specified time a sloping rampart of stones had
been packed against the outside face of the barrier.
Then, having regained the sleigh, Ranworth gave the order for the
decapod wheels to be brought into play.
The inclined plane served its purpose. Crunching over the loose
stones, the Bird of Freedom rolled ponderously up the hitherto
formidable obstruction.
Barely had she traversed ten yards beyond the surmounted
obstacle, when, with an appalling crash, the lower portion of the
glacier broke off and tumbled into the waters of Desolation Inlet.
Where the sleigh had[37] been but a few seconds previously a
yawning gulf appeared, while the huge mass of ice, floundering
violently in the agitated water, moved slowly towards the sea.
The Bird of Freedom was now clear of the ravine. Ahead, the
ground ascended with comparative regularity. All around the land
was covered with a thick deposit of ice and snow.
Two hours later, Guy, who had relieved Ranworth at the steering
wheel, reported a ridge of hills ahead, pierced by two narrow
passes.[38]
"Which one shall I make for, sir?" he asked, Ranworth having
rejoined him.
"I don't think it matters much," was the reply. "Both diverge equally
on either side of our current compass course. Take the right hand
one for choice. Ease her down, Leslie, when we approach the defile.
We don't want to barge into anything if we can help it."
"What's that, sir?" asked Guy, as the sleigh rounded a gentle curve.
Projecting from a hole in the cliffs, was the largest animal the lad
had ever seen. It resembled an elephant, yet in place of short hair it
was covered with long whitish grey fur. The trunk was extended, and
on either side was a curved tusk fully fifteen feet in length.
Ranworth untied the carefully secured double flaps and entered the
tent.
It was deserted, and contained only a pile of fur rugs, neatly folded
and corded, and a tin box conspicuously labelled:
"I don't see how you can state that they were in no great hurry,"
expostulated Guy, "although I agree with you on the other points."
"Well, the tent was pitched carefully, the spare stores and furs
deliberately placed in position, and the flaps properly lashed. Men,
famished and in an exhausted condition, would not, and could not
pitch a tent in that way. It evidently points to the fact that Mr.
Ranworth's brother had planned his line of retreat from Observation
Camp and had placed tents in readiness at certain intervals."
"I quite agree," added Ranworth. "So we are bound to fall in with
the remnants of the expedition, should they decide through shortage
of provisions to make a desperate dash for Desolation Inlet."
The sleigh was travelling well now, for the frozen ground made
good going. Leaving a cloud of powdered snow in her wake, like the
dust from a swiftly-travelling motor-car on a dry, chalky road, she
was averaging forty miles an hour.
The warning was necessary, for the Bird of Freedom was about to
cross the track of a former glacier.
This done, Leslie was about to transfer the power to the twin aerial
propellers, when Guy exclaimed:
Well it was that the sleigh had a firm grip by means of the decapod
wheels. Had she been supported solely by her runners, there was a
great possibility of her being swept at a breakneck speed before the
well-nigh irresistible gusts.
The whole fabric of the sleigh quivered as the snow-squall struck it.
In less than ten seconds the observation scuttles exposed to the
direct force of the wind were completely obscured with snow.
"We'll have to wait until the snow freezes before we can use the
runners," said Ranworth. "Meanwhile, we must do the best we can
with the decapod wheels. I'll go outside and clear the snow from the
scuttle."
"It's not the fault of the motors, sir," reported Leslie. "I should think
that something jammed outside."
"It's frozen snow," declared Ranworth, after the crew had alighted.
"The cogs are literally stuffed up. Get a crowbar, Guy, and try to shift
the accumulation. And, O'Donovan, bring a couple of spades with
you and cut away some of the drift in front of us. We couldn't be in
a worse place for starting, although it protected us from the full fury
of the storm."
The effect of the wind upon the fallen snow was most remarkable.
As far as the eye could reach, the aspect resembled a frozen sea,
the snow being piled up in long undulations, like the Atlantic rollers
suddenly petrified. One of these snow waves had accumulated in
front of the Bird of Freedom. Even the decapod wheels would fail to
find support upon the soft, slanting bank of snow. Ranworth and
O'Donovan set to work to cut a passage through the obstruction.
"And the wind has changed," added Ranworth. "It's coming from
almost due south."[44]
"So much the better for us—until we start on the return journey,"
declared Leslie. "If we——"
With a leap he alighted upon the ground, and, running with the
drifting snow, made towards the newcomers, Leslie and Guy
following at his heels, and O'Donovan bringing up the rear. Running
hardly describes their progress, for at every step the crew of the Bird
of Freedom sank almost to their knees.
The two strangers gave no sign of having seen their rescuers. They
floundered heavily through the snow, with their shoulders hunched
and their heads sunk on their chests. They were enveloped with
furs, while, as they struggled against the falling snow, the front of
their clothing was plastered white with the frozen flakes. The pair
were trudging side by side, dragging a light sleigh by means of cords
slung over their shoulders.
At the sound of his voice, both men raised their heads. Their faces
were black and almost hidden by thick beards.
One of the men raised his arm and gave vent to a feeble shout
which seemed almost stifled in his throat, and pitched inertly upon
the snow. His companion stood stock still for a few seconds, then
rubbed his eyes vigorously as if unable to credit his sense of vision.
[46] Then, extending both arms, he struggled forward for a few paces
and collapsed in a heap.
Ranworth and Guy raised the man to a sitting position, while Leslie
and O'Donovan directed their attention to the unfortunate individual
who had been the first to collapse.
It was an easy matter to drag the light sleigh with its burden, but
the difficulty was to get the heavy man up and through the doorway
in the side of the Bird of Freedom. He was incapable of assisting
himself, and his bulk, rendered additionally great by his thick fur
clothing, afforded little grip. The "entry port" of the motor-sleigh was
not intended for men of his girth.
"Can't we raise him on this, sir?" asked Leslie, indicating the little
sleigh on which the man had been brought alongside the Bird of
Freedom.
"I'd rather drag this thing a yard than a mile," thought Leslie, as
with Guy he seized the cords attached to the sleigh and literally
fought his way through the blinding snow. "I wonder how far those
poor chaps have come?"
The second of the two rescued men was short in stature, but of a
massive build, and it took almost as much exertion to get him on
board the Bird of Freedom as it had done to deal with his
companion.
"Attend to this poor chap, Guy," said Ranworth. "Leslie, will you
start the motors? If we don't get a move on pretty smartly, we'll be
snowed in."
"How about this, sir?" asked Leslie, indicating the sleigh which the
two men had been dragging.
Leslie did so. The contents of the package told their own tale, for
wrapped up in a piece of fur were two lumps of raw seal's flesh and
some broken bits of mouldy biscuits.
"Starvation rations," commented Ranworth. "Now, Leslie, start her
up; we've no time to lose."
Under the action of the decapod wheels, since the runners were no
longer of any use in the soft snow, the Bird of Freedom resumed her
slow crawl, five miles an hour being the maximum speed under such
adverse conditions.
Presently the tall man, who had never actually lost consciousness,
feebly made signs that he wanted food.
O'Donovan had already opened a tin of soup and had put the
contents to simmer over a spirit stove. A few spoonfuls revived the
man considerably.
"Where did you leave the rest of the Ranworth Expedition?" asked
Guy.
"We knew not that there were others in Nova Cania," he replied.
"We were wrecked three weeks ago."
"Ten."
The Russian stretched out his hand for more soup. Ranworth was
silent. He was thinking deeply. The obligations of the relief party
were increased twofold. In the name of humanity he must proceed
to the rescue of the luckless crew of the destroyed airship. At the
most the Bird of Freedom could accommodate sixteen persons only,
including her original complement.[51]
"It will mean two trips," he soliloquised. "The question is: whose
necessity is greater—my brother's or this man's comrades? Dash it!
Of all the intricate problems, this is the stiffest I have had to face."
"I'll take her, Guy," said Ranworth, relieving the lad at the steering-
wheel. "We ought not to be far off now."
Ten minutes later Leslie received the order to switch off, and the
sleigh, gradually losing way, came to a standstill within ten feet of
the nearest of a cluster of snow huts.
The third hut had a double curtain. The approach tunnel, too, was
larger. The inner curtain, unlike those in the other huts, was secured.
"Yes, old man, we're here," replied John Ranworth, and emerging
from the tunnel he drew himself erect within the hut, while Leslie
and Guy followed.
The sole illumination was derived from a piece of lighted cotton rag
floating in a shallow bowl of oil and[54] tallow. It revealed seven
men, lying close together for mutual warmth and muffled in furs.
Three of them were fast asleep, the others seemed more or less
torpid.
Their gaunt faces, black with smoke from the lamp, betrayed
extreme emaciation. Their rugged, unkempt beards made them look
like decrepit old men.
The scene appalled Leslie and Guy. If this were what Polar research
meant, was the game worth the candle?
One by one the four men who were awake were assisted out and
taken on board the Bird of Freedom. The remaining three, still in the
deep sleep of utter weakness and exhaustion, had to be dragged
into the open air and across the intervening stretch of frozen snow.
"Won't do," he said. "For one thing, there's valuable time lost in
going over the same ground twice. For another, I doubt whether the
motors will hold out without recharging the storage batteries. Of
course, it is highly desirable to get my brother and his comrades
back on board, but I think, with fresh provisions and attendance,
they ought to exist another twenty-four hours."
"I'd rather you came with me," declared Ranworth. "Of course, it is
optional with you, but although I think I could manage to run the
motors, I shouldn't feel equal to the occasion in the event of a
breakdown. Guy, I suppose, would want to go with you; that leaves
only O'Donovan, who, I feel sure, would be quite capable of looking
after our eight patients."
"Yes, we must leave the Russian Dmitri. The other one will have to
come with us, both as guide and interpreter, in the unlikely event of
none of the others speaking French. Most Russian officers do, I
know, but I prefer to take no unnecessary chances." O'Donovan,
upon the subject being broached, willingly fell in with his chief's
plans. While the rescued men were resting and regaining strength
after their meal, the sailor busied himself with clearing out one of
the huts. Into this he carried the spare spirit stove, a lamp, oil, and a
supply of provisions sufficient to last a week.
"Look here, Claude," said his brother. "We'll have[56] to leave you
for a little longer. There is a party of Russians stranded over there
somewhere——"
"Look here," he whispered eagerly. "In that hut where you found
us is a lump of metal wrapped up in a sealskin. It doesn't look very
big, but it's worth a fortune—it's pure platinum. Over yonder the
place swarms with it."
"Yes," replied his brother. "But you weren't anywhere in the vicinity
of Nova Cania at that time?"
"A heavy cloud of smoke drifted in this direction. It hung about for
nearly two hours before it finally dispersed."
"Yes," replied Claude. "Do you see that hummock with a peculiar
double crown? If you stand in front of the second hut from here, the
crest of the hummock is practically in line with the place from which
the flash emanated. But why are you so interested, Jack?"
His next step was to take a prismatic compass and set it in position
outside the hut his brother had indicated. By taking a bearing of the
twin-peaked hummock, he was able to fix the direction of the scene
of the disaster to the Russian airship.
Without further delay, the Bird of Freedom set off on her fourteen-
mile journey to the rescue of the stranded aviators.
"The ice is too thick for that," replied Ranworth. "For another
reason, the creek apparently opens into the sea on the northern
coast of Nova Cania. You must recollect that the southern and the
greater portion of the eastern and western sides of this vast island
have been explored with fair accuracy."
Three times during the next ten miles the decapod wheels had to
be brought into action owing to the rough nature of the ground.
"Now," he continued, "I want all hands to pay this out. Keep a
slight strain upon it, and, if I shout, haul away instantly."
Having repeated the instructions in French to Petrovitch, Ranworth
began to walk towards the supposedly dangerous ground, its
position denoted by a difference[60] in colour and a decided dip.
North-west and south-east, as far as the eye could see, these
characteristics were apparent. To avoid the suspected danger, a long
detour would be necessary.
"Very good, you can come this way for another fifty yards. It's
sound enough," was the reply.
Just then Ranworth gave a warning shout, but before the three
helpers could haul in the slack they saw to their horror the ice giving
way all around their isolated comrade.
The sudden jerk well-nigh capsized the rest of the party, for the
smooth ice afforded but little foothold. The strain, too, caused the
rope to "render" through their thickly-gloved hands, and had not the
Russian taken the precaution of knotting his end round his waist, the
coil with Ranworth at the end would have been lost for ever. As it
was, the luckless man was dangling fifty feet over the brink of an
unfathomable abyss.
The two lads and their Russian comrade began to haul away. Foot
after foot of rope came home, till Ranworth's voice was heard feebly
shouting to hold on.
The order was instantly obeyed. It was good to hear his voice, for
it seemed marvellous that, after falling fifty feet and being brought
up with a jerk, Ranworth's back had not been broken by the sudden
strain on the rope.[61]
As a matter of fact, his fall was less abrupt than it seemed, judging
by the way in which the ice suddenly gave way all around him.
"We can take the strain, Guy," said Leslie hurriedly. "Cut off and
bring another length of rope—thicker stuff if you can find it; and a
crowbar," he added as an afterthought.
Guy was off as fast as the slippery nature of the ice would permit.
Soon he was back with the required articles.
Deftly the lad hurled the length of rope. It fell short. Another and
yet another cast did he make, but without success. The rope was too
heavy and stiff to be thrown sufficiently far.
"Be quick," he exclaimed. "The edge of the ice is chafing the rope
badly. It won't hold much longer."
"Leslie," said Guy earnestly, "I'm going to take this rope to the
edge and drop it over. There's enough slack in your rope to carry
back to the sleigh. Be sharp!"
As soon as this was done, Leslie and Petrovitch were able to assist
Guy. Two bowlines on the bight were made in the new rope; one at
the end, the other ten feet from it. Slipping through the latter, Guy
began to walk towards the abyss, his comrades paying out as he
went.
At about twenty feet from the crevasse Guy threw himself flat upon
the ice. It creaked, but held. Cautiously he wriggled onwards,
pushing the unused bight of the rope before him.
Right to the edge he made his way. Still the ice held. He could see
Ranworth dangling inertly at the end of the first rope. More, he saw
how badly the rope had chafed on the edge of the sharp ice. It
seemed marvellous how the remaining strand could support a man
of Ranworth's weight.
Fortunately the rope was no longer chafing. It had sunk into the ice
and thus had formed a fairly smooth bed for itself, but any attempt
to increase the strain would have been fatal.
"Stand by!" shouted Guy, then boldly slipping out of his bowline he
commenced to crawl towards his comp- [63] anions, keeping within
arm's length of the rope in case of the ice giving way again.
"All together!" was the cry, when the intrepid lad added his
strength to that of Leslie and Petrovitch on the rope.
CHAPTER XVI
THE CREVASSE
"Then you must have crossed the crevasse without knowing it,"
declared Guy. "See, it still continues in this direction."
"I'm afraid it matters now," rejoined Guy. "It's pretty evident that it
won't bear the weight of the sleigh and its crew. What do you
propose?"
"If I could walk across, they can do the same," declared the
Russian. "Therefore, let us fire signal guns."
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
textbookfull.com