[JAVAEETUTORIAL-142] Missing intro para in Duke's Tutoring Created: 01/Nov/12  Updated: 05/Feb/13  Resolved: 05/Feb/13

Status: Resolved
Project: javaeetutorial
Component/s: None
Affects Version/s: 6.0.7-4
Fix Version/s: 6.0.8

Type: Bug Priority: Minor
Reporter: Kim Haase Assignee: Ian Evans
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I'm looking at the subsection "Properties Files" in the Duke's Tutoring chapter. It looks as if an introductory paragraph is missing before the second variable list, saying where in the dukes-tutoring-war project the messages are located – something equivalent to the intro para on the dukes-tutoring-common properties file.



 Comments   
Comment by Kim Haase [ 09/Nov/12 ]

We really need this now, so I have put in the following:

"The dukes-tutoring-war project has the following resource bundles:"

Is that all right? Please let me know if not.

Comment by Ian Evans [ 09/Nov/12 ]

Yes, that's fine.

Comment by Kim Haase [ 09/Nov/12 ]

Thanks, Ian. After I put back the V2 files, you can look over yours and check the fix (and all the other edits). I am using change bars.

Comment by Ian Evans [ 05/Feb/13 ]

Fixed in 6.0.8.





[JAVAEETUTORIAL-141] Redo Figure 1-7, Java EE Containers Created: 31/Oct/12  Updated: 31/Oct/12  Due: 31/Oct/12  Resolved: 31/Oct/12

Status: Resolved
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.7-6
Fix Version/s: 6.0.8

Type: Bug Priority: Minor
Reporter: jendrock Assignee: jendrock
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 1 day
Time Spent: Not Specified
Original Estimate: 1 day

Attachments: GIF File jeett_jd_013.GIF     GIF File overview-architecture-cont.gif    

 Description   

A user noted that there was an arrow missing between the EJB container and the database. I never really liked the illustration that we used, as it showed paths between containers that we never followed, conveyed information that we wanted to deemphasize (transports, applet container), and contains incorrect information (no link between EJB container and database). My original intent was to simply show the relationships between the containers. The old picture from the J2EE Tutorial almost 10 years ago was really close to what I wanted to show. It is simple and very stripped down. We reverted to it. Attached please find the "bad" illustration (overview-architecture-cont.gif) and the updated illustration (jeett_jd_013.GIF).



 Comments   
Comment by jendrock [ 31/Oct/12 ]

Got updated illustration back from illustrator and will include in next release and in Volume II going to publication.





[JAVAEETUTORIAL-107] serializable class does not define serialVersionUID Created: 24/Jun/12  Updated: 05/Feb/13  Resolved: 05/Feb/13

Status: Closed
Project: javaeetutorial
Component/s: doc, examples
Affects Version/s: 6.0.7-5
Fix Version/s: 6.0.7-6, 6.0.8

Type: Improvement Priority: Minor
Reporter: Brant Gurganus Assignee: Kim Haase
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes


 Description   

The managed bean described at http://docs.oracle.com/javaee/6/tutorial/doc/gipob.html is marked as Serializable but does not define a serialVersionUID. While not technically necessary, I believe it is best practice to define it since different JVMs will generate different default serialVersionUIDs so retroactively setting a compatible serialVersionUID may not be easy.



 Comments   
Comment by Ian Evans [ 14/Aug/12 ]

There also is the issue that NetBeans adds serialVersionUID as an editor hint, but defaults the value to 1L for every class. So, we need to sweep through our sources to make sure that we have unique IDs for our serializable classes.

Comment by Kim Haase [ 14/Aug/12 ]

Yes.

A few other chapters in the book contain code with the 1L assignment. I am fixing the CDI one. It occurs in a couple of persistence chapters also.

Comment by Kim Haase [ 15/Aug/12 ]

Checked in code and book fixes for web/guessnumber and cdi/guessnumber examples.

Comment by Ian Evans [ 15/Aug/12 ]

Revision: 984
Author: ievans
Date: 2012-08-15 09:47
Message: Replaced all serialVersionUID fields with unique values; general code cleanup (added @Override annotation, StringBuilder, improved logging syntax, etc.)
Issue #JAVAEETUTORIAL-107 - serializable class does not define serialVersionUID

Comment by Kim Haase [ 16/Aug/12 ]

Checked in code fixes for mailconnector example (revisions 988 and 989).

Comment by Kim Haase [ 17/Aug/12 ]

Committed more bookstore example classes that needed a serialVersionUID, at revision 992.

Comment by Kim Haase [ 20/Sep/12 ]

Committed cleaned-up code in cdi/decorators, including serialVersionUID, at revision 996.

Comment by Kim Haase [ 20/Sep/12 ]

Committed cleaned-up code in cdi/billpayment, including serialVersionUID, at revision 997.

Comment by Kim Haase [ 20/Sep/12 ]

Committed cleaned-up code in cdi/producerfields, including serialVersionUID, at revisions 998 and 1001.

Comment by Kim Haase [ 20/Sep/12 ]

Committed cleaned-up code in jms/clientmdbentity, including serialVersionUID, at revision 1000.

Comment by Kim Haase [ 20/Sep/12 ]

Committed cleaned-up code in Duke's Forest projects, including serialVersionUID, at revision 1002.

Comment by jendrock [ 05/Feb/13 ]

This issue has been fixed. Depending to whom you talk, this issue is either trivial or irrelevant. The 1L value, generated and inserted by the IDE is sufficient for the examples. In a real world production environment, a unique, generated UID would be a necessity, but not here. The change has been made to all or almost all of the examples already. Enough has been done to close the issue.





[JAVAEETUTORIAL-92] Integrate CDI content from WebLogic Server 12c Developer's Guide into advanced CDI chapter in tutorial Created: 30/May/12  Updated: 05/Feb/13  Resolved: 05/Feb/13

Status: Closed
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.7-3
Fix Version/s: 6.0.8

Type: Improvement Priority: Major
Reporter: jendrock Assignee: chinmayee_srivathsa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 2 weeks
Time Spent: Not Specified
Original Estimate: 2 weeks


 Description   

Add applicable content from Chapter 9, "Using Contexts and Dependency Injection for the Java EE Platform" in the Oracle® Fusion Middleware Developing Applications for Oracle WebLogic Server 12c Release 1 book to the "Contexts and Dependency Injection for the Java EE Platform: Advanced Topics" chapter in the tutorial. Some content, including information about contextual scopes, may need to be migrated to the basic CDI chapter. The plan discussed in the tutorial meeting sounded comprehensive and correct. Please outline it here in a comment, then implement it in the advanced topics chapter.



 Comments   
Comment by Kim Haase [ 31/May/12 ]

I have made the fixes involving dispose methods as part of the v2 index fixes – I added index entries for dispose on the appropriate paragraph, changed the section title, and made "dispose method" a term. The additional content from the WLS book remains to be added.

Comment by Kim Haase [ 11/Jul/12 ]

I believe that all the fixes from http://aseng-wiki.us.oracle.com/asengwiki/display/JavaDocumentation/CDI+Chapter+for+Java+EE+6+tutorial have now been made, so I think you can close this as fixed, Chinmayee. Thanks!

Comment by jendrock [ 05/Feb/13 ]

The issue has been fixed and is available online and in the javaeetutorial 6.0.8 package in the Update Center.





[JAVAEETUTORIAL-83] Java Servlet Advanced Topics section is empty Created: 20/Apr/12  Updated: 11/Feb/13  Resolved: 11/Feb/13

Status: Closed
Project: javaeetutorial
Component/s: doc
Affects Version/s: 6.0.7-3
Fix Version/s: 6.0.8

Type: Bug Priority: Major
Reporter: rcervera Assignee: jendrock
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: empty, servlet

 Description   

http://docs.oracle.com/javaee/6/tutorial/doc/glrbb.html is empty.



 Comments   
Comment by jendrock [ 25/Apr/12 ]

This chapter was not supposed to be included in the build. I need to include three viable topics, at least some of which can also include (or reference) an example, before I am willing to add this chapter into the tutorial. I could discuss such topics as asynchronous processing, absolute ordering of fragments in the web.xml file (not geared for our audience), dynamic registration of servlets, etc. I may add this in for the next respin, especially that we have a few rudimentary examples that we can use to show some of the aforementioned features.

Comment by jendrock [ 30/May/12 ]

Will create a chapter that addresses two features that may be of interest to our target audience: (1) file upload and (2) dynamic registration. Have a very simple example for (2) that demonstrates dynamic registration of a servlet that sets an initialization parameter. Will point back to Duke's Forest for file upload. The case study uses this feature when a user creates a new product and adds an image to the product description.

Comment by jendrock [ 11/Feb/13 ]

The chapter was completed and included in the documentation that went out with the 6.0.8 release.

For Java EE 7, the content has been folded back into the base Servlet chapter.





[JAVAEETUTORIAL-71] Complete I18N tasks in Duke's Forest Created: 21/Mar/12  Updated: 05/Feb/13  Resolved: 05/Feb/13

Status: Closed
Project: javaeetutorial
Component/s: examples
Affects Version/s: 6.0.7-2
Fix Version/s: 6.0.8

Type: Improvement Priority: Major
Reporter: jendrock Assignee: William Markito
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Move all error messages and any other hard-coded strings to the appropriate message bundles (I18N cleanup) in the case study.



 Comments   
Comment by jendrock [ 05/Feb/13 ]

This issue has been resolved. The dukes-store and dukes-shipment projects have English and Spanish-language message bundles. That is all we are going to do.





[JAVAEETUTORIAL-40] Internationalize the dukes-forest case study Created: 14/Jul/11  Updated: 05/Feb/13  Resolved: 05/Feb/13

Status: Closed
Project: javaeetutorial
Component/s: examples
Affects Version/s: 6.0.7
Fix Version/s: 6.0.8

Type: Task Priority: Major
Reporter: jendrock Assignee: William Markito
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 2 weeks
Time Spent: Not Specified
Original Estimate: 2 weeks

Issue Links:
Related
is related to JAVAEETUTORIAL-32 html tags in examples must have lang ... Resolved

 Description   

The Duke's Forest case study needs to be internationalized. All text strings need to be removed from the code in all subprojects and put in a Messages.properties file (or ValidationMessages.properties file, if needed). The dukes-store and dukes-shipment projects appear to be done, but the dukes-payment project is not, as it looks to be incomplete. After the string removal has been done, the properties file(s) will need to be translated to Portuguese (Brazilian), Spanish, German, and Chinese.



 Comments   
Comment by William Markito [ 05/Aug/11 ]

Already created i18n bundle files for English in Dukes Store and Dukes Shipment. Needs to test with other languages before closing the ticket.

Comment by jendrock [ 05/Feb/13 ]

The Spanish and English message bundles are present for the dukes-store and dukes-shipment projects. This is more than sufficient for our purposes. If anyone needs to examine a case study that has multi-language message bundles and validation message bundles, they can take a look at the dukes-tutoring project.





Generated at Fri Aug 26 04:43:21 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.