Help coderanch get a
new server
by contributing to the fundraiser

DavidJohn Raymond

Greenhorn
+ Follow
since Jan 14, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by DavidJohn Raymond

Thank you so much for the response.
2 years ago
Hello,

I am very interested in Beginning IntelliJ book and wanted to find out if there is a chapter on code coverage and how to use external code coverage tools like JaCoCo with IntelliJ?

Thanks
David
2 years ago
Hello Ted,

Does the book cover using Docker with IntelliJ?

Thanks
Dave
2 years ago
I think it is great that your examples are going to be ones that you feel represent best practices. I think it is important that books should use the best quality code that is as close to production quality as possible especially for a new platform that is unfamiliar to some of us. I would be very interested in Android Secure Code training.
6 years ago
Do you discuss how to right secure Android applications? Do you discus how to prevent the OWASP top ten security vulnerabilities using Java and the Java Android libraries?
6 years ago
Could you give us a rundown about the main things we will learn from the book. Is there any missing pieces to Android development that the book doesn't cover?
6 years ago
I have a flat file csv format that has a header, and line items. The records have a record identifier in the first position H for header and L for line item. The way I process the file now with java is that I read from header record to header record, so I read a header record and then read each line after that record which is reading in the lines until I read another header which then is the start of the next record. So I don't have an explicit end of record marker. I am trying to convert the process over to Spring Batch and I see that I can implement a RecordSeperatorPolicy which will call the isEndOfRecord method to determine if all the lines that make up the record have been read in. However since I have no explicit record terminator I am not sure how what I would need to do in order to implement the RecorSeperatorPolicy to work in my situation.

Logical File Layout

H, CompanyName, DepartmentCode, ContactFirstName, ContactLastName
L, LineNumber, Amount, Quantity, Price, Measure
L, LineNumber, Amount, Quantity, Price, Measure
L, LineNumber, Amount, Quantity, Price, Measure
H, CompanyName, DepartmentCode, ContactFirstName, ContactLastName
L, LineNumber, Amount, Quantity, Price, Measure
L, LineNumber, Amount, Quantity, Price, Measure

Thanks for any help
10 years ago
Hello I am upgrading a legacy application to use EJB 3.1/JPA2.0. The current application uses EJB 2.x BMP beans for persistence. I have been successful in my implementation but have run into one issue that has been a bit of a pain. The issues is that my legacy application stores an object into two separate tables. I want to know if it is possible to use the same POJO and map it slightly differently in two separate tables. Currently the application decides which table to pull the entity from based on the user type. I know this is a bogus design however the application is far to large to change this right now the plan is to eventually redesign parts of the database.