Skip to main content

2015 | OriginalPaper | Buchkapitel

14. Web Applications

verfasst von : Joseph Ottinger, Srinivas Guruzu, Gary Mak

Erschienen in: Hibernate Recipes

Verlag: Apress

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

So far, you've seen a lot of aspects of working with data, and it's time to look at one way to use Hibernate to access data over the Web, which is (obviously) a very common access method. (If it's not obvious, trust me: it's obvious.)

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Dear reader, everything in this chapter is merely one option in a sea of choices. Any time you see something being done, you should keep in mind that there are likely to be a hundred other possibilities, each with its own strengths and weaknesses.
 
2
AngularJS ( http://angularjs.org ) is a JavaScript application framework.
 
3
REST stands for “Representational State Transfer.” We’ll explain it further as we go through the chapter because it’s rather important for our design, but for starters, see http://en.wikipedia.org/wiki/Representational_state_transfer
 
4
Speaking of options in a sea of choices: another architectural pattern over HTTP is service-oriented architecture, in which actual services are exposed instead of resources. REST is simpler, though, and pushes application definition over to the client layer, which is arguably where it belongs.
 
5
The HTTP verbs aren’t exactly rocket science.
 
6
Another horribly short summary of REST: objects (nouns—things) are exposed as locations over HTTP. To interact with them, we use HTTP actions—verbs—such as GET, POST, PUT, and DELETE. Each has normal implications: GET retrieves, POST updates an existing resource, PUT creates a new resource, and DELETE—surprisingly—makes it unavailable.
 
7
Jersey’s home page is https://jersey.java.net/
 
8
In particular, see Adam Freeman’s Pro AngularJS from Apress; its URL is http://www.apress.com/9781430264484
 
9
Your author knows exactly how important authors are, being one; besides, who would write books if there were no authors? This question made my head hurt.
 
10
There are a lot of “firsts” in this chapter, sadly. Welcome to enterprise development!
 
11
Issuing a request like that through a browser’s location bar issues an HTTP GET.
 
12
This was a sarcastic statement; not only have we covered very little about REST, I don’t think this chapter in its entirety could serve as much more than a cursory overview. Sorry about that—it’s a giant topic.
 
13
XML is great when you need to specify that a structure fits a specific description and that types are specific. It’s also very verbose and thus rather noisy. Programmers are lazy; JSON is more common, especially because JavaScript can use the object structures as is, rather than having to unpack XML.
 
Metadaten
Titel
Web Applications
verfasst von
Joseph Ottinger
Srinivas Guruzu
Gary Mak
Copyright-Jahr
2015
Verlag
Apress
DOI
https://doi.org/10.1007/978-1-4842-0127-5_14