Card Set Information
midterm java clientserver
What is glassfish?
made by oracle
used to show how to use JavaEE
What is the Apache Derby project?
built into netbeans
What scripting language was used for a jsf page to communicate with its backing bean?
making java class(backing bean) available to the jsf page
making this class available
does not instantiate the object
a way to get at the database
where is the View generated?
on the server side
what types of classes is in the ViewModel
what types of classes did the Model consist of
4 main software's in this course
What construct does a controller use to communicate with a view?
What is the relationship between Dependency Injection and Modules
if a module is dependent on something, you have to inject it in.
What 2 other constructs can be used in place of a Factory?
What REST operation do we use when we want to add data via the service?
When configuring Glassfish to enable REST services, what class was created?
What is the default path when the service is deployed?
What REST operation was used to update a single vendor?
What other annotation was used in the resources class' update method other than PUT.
What URL would you use to dump out all vendor info from our netbeans setup in json format to the browser?
What AngularJS directive was used to create the HTML containing each individual vendor's data and styling?
What AngularJS module is used to create the window to add/update vendor info. What method is used to actually create it?
What 3 properties are passed as JSON properties to the $modal.open() path when the service is created?
How does the VendorCtrl code know you want to add a row as opposed to updating a row?
add would be -1
What 2 intrinsic properties were used in detect whether or not a form had changed and whether or not the field had valid data?
which directive was used with the 2 properties
$pristined and $invalid
what is the syntax for using a ternary operator in an AngularJS directive? e.g. ng-click
(todo === 'add') ? add() : update()
Other than @DELETE, what 2 REST annotations were added to the VendorsResource Delete method to accommodate the delete process?
What 7 files are required to incorporate product processing?
Which file(s) needs to be updated to incorporate product processing?
route file to hook up controller
What is the graphic type used in the collapsible panel to indicate open or close the panel?
How do you set up you project to be able to allow bootstrap to use graphics
What was different about jdbc code needed to add a vendor row vs that for adding a product row?
vendor you are generating a key
product you are supplying a key
The least amount for the business to order that's good.
Economic Order Quantity
Which fields are used to calculate the extended price for a line item?
Once an item is added, how is it removed from the generator?
qty = 0
Assuming there are at least a minimum of 5 copies of PO. Which parties would receive a copy?
Which tables have identity set to true:
PurchaseOrder, PurchaseOrderLineitem or both
both are using generated keys
How do we indicate the start of a transaction in jdbc programming?
What 2 possible commands are coded to indicate the end of a transaction in jdbc programming?
describe a servlet
sending the web server
adding functionality to the web server
list the hierarchy of interfaces/classes that the servlet is based on. ON TEST
extend with my code
What annotation is used to specify things like the alias(urlPatterns) for your servlet?
What angular service was used to call the servlet?
How did we pass the desired PO# from angular to the servlet?
through a query string
What intrinsic object was used to obtain the data from query string in the servlet?
Java Naming Directory Interface
how the server knows what you are talking about
cmd utility to get at the database
how to get at the data source
immediately-invoked function expression
: not using anything global
app vs vendor folder
we wrote in the app not in the vendor