Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

darren hartford

Greenhorn
+ Follow
since May 17, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
4
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by darren hartford

Thanks Adam, well thought out answers, and very much appreciate the external reference links for additional information!
Hi Adam Tornhill,
Wow, reading the description of the book, suddenly very interested on this topic of behavioral review as an approach to tackle technical debt.

q1: Is there a bit more you could share, is this about the developers being good at certain 'design patterns' versus others and creating technical debt by keep doing it 'the same way', or is there a different perspective/point of view?

q2: Being able to measure is what makes it easier to see progress.  Are there automated ways to help measure where this approach may be useful (such as using a common software analysis tools such as sonarqube)?

Thanks, very interesting point of view!

-Darren
Hi everyone,
Does anyone have guidelines for custom payloads over TCP, when should you handle a decoder (and to what detail/level), versus when you pass the accumulated information downstream to a parser instead of trying to put it all in a decoder?

For example, when you have something simple that is fixed-width and 10 fields, it's easy to just have the decoder and breakup the 10 fields directly to pass to a processor later.

But getting into variable fields, X12/EDI, delimited formats....what is a good guideline around using Netty's decoder at the TCP receiving level versus getting the start/stop of a payload and then passing the payload to something else (CSV parser, Smooks EDI parser, a separate custom parser)?

thanks!
Hi everyone,
Historically, I've used books like 'Clean Code' from Robert Martin and 'Refactoring' from Martin Fowler as good references to improve my java programming practices.

Does this Core Java Edition book compliment those needs or possibly replace those kinds of books?

Thanks!
-Darren
4 years ago
Thanks Jason!

The https://github.com/arquillian/arquillian-recorder/wiki/Reporter Report extension looks interesting, take a bit of work to see if I can get it to aggregate everything.

Thanks for mentioning the Jacoco integration via https://github.com/arquillian/arquillian-extension-jacoco, I have only used Emma (mostly) and Cobertura (occasionaly) in the past, but was unfamiliar with Jacoco.

-Darren
4 years ago
Hi All,
I've been watching arquillian a while, and like the concept to be able to have a consistent testing framework for junit (unit code testing), selenium (web ui testing), and possibly soapui (rest/soap service integration testing) or other integration testing approaches.


Three questions:

-are there specific advantage / disadvantage to using arquillian as the same framework for all the types of testing?

-is there a 'stock' pdf-type of report that combines all the testing activities into an 'executive summary' type of presentation?

-are there additional features, such as code-coverage reports, that integrate all the testing activities into a single code-coverage (i.e. this part was tested by unit testing and service testing, but this part was only tested by service testing)?

Sorry to stack three questions, but these are important to me and I didn't want to 'stack' my questions just to get the arquillian book (I really do want it, but want to be fair ;-).

-Darren
4 years ago
Thanks Robert, and I appreciate you putting in the time to post your example!
Hi all,
Across the community, a lot of people have been acknowledging jdk8 as 'significantly new programming approach' around how streams are handled and the use of lambda's in how you accomplish prior tasks to new approaches.

For the OCAJP 8, is that also a significance shift in knowledge/skills needed for this test?

-D
Hi all,
Assuming either SAML, Oauth, or similar authentication standards, what are some approaches to also handle user centralized authorization (role) based management across multiple applications that each of a unique list (2-10) roles per app, and some apps that have domain attributes as part of the authorization process?

example: user John Johns should have access to app1_admin, app2_supportpersonnel, app3_productmgr w/ domain attribute of product id.

thanks!
-Darren
5 years ago
Hi team,

Three different questions around the JavaEE patterns, either as real-world answer or as reference to the "Professional Java EE Design Patterns" book that seems interesting.

1) For the old people from the EJB 1.1 forward (don't want to talk about 1.0), are there any items that carry over, or is it more of a 'you must unlearn what you have learned' kind of change.

2) Are there design patterns that talk about a lot of the 'hype' around these two areas:

2.a) asynchronous communications, which although is more of a network item, does have some consequences if not addressed in the design.

2.b) large-scale parallel processing (either simple SMP multithreading as one topic, and distributed 'cloud' scale parallel processing as another topic) -- this has a lot of potential pitfalls and challenges (old J2EE did not want you to multithread in your code for example), and some good design patterns to tackle the problem would be great!

Thanks for any answers!
-D
I'm sure I am not alone in these scenarios where a manager or executive want to "stop having too many issues in production" or "reduce bugs" or "reduce the number of hotfixes/downtime related to hotfixes".

So the question becomes, how does one 'show' a stakeholder the quality has been improved in a way that makes sense to them?

I've seen things like the 'SIG maintainability' metrics, but I think that was a commercial plugin for Sonar. But using that as an example, it provided a 'grade' that a business stakeholder took away....whether appropriate or not as developers we know may not necessarily be the case.

What other metrics/reports have people had success showing improvement in code quality to non developers?

thanks!
-Darren
I've partly used Sonar in a couple projects with Hudson/Jenkins, and the benefit comes from the historical trending aspects and 'goal setting'.

If the goal is to increase the quality of the project, you can not measure if you are going in the right direction or not without keeping a trend as you make changes -- hudson/jenkins with sonar seems to help in this direction.

I remember somewhat the ability to look at historical reports and compare them to current, but it was a little wonky in that I think you needed a dedicated sonar server versus just 'adding' sonar to your project? There was something about trending/historical didn't work quite like you would expect around build server and source control that the sonar server assisted with....

-Darren
Hi all, next sonar question! :-)

setting the stage....
monitoring tools like javamelody, appdynamics, and others help with runtime performance/tuning and are not directly related to code quality.

however, part of code quality could be associated with errors in logs, so tools like chainsaw and, more likely, splunk start to blur the lines.

then you review kind-of-like-but-not-quite tools like InfraRed and Glassbox where they are trying to improve the quality of the code in different approaches.

Question: How does Sonar compare/contrast to InfraRed and Glassbox, and/or does it work with/integrate/replace logging review tools such as splunk as it relates to code quality of the end-result solution?


Bonus Question: what other tools compliment Sonar if you were to setup the 'ideal' ecosystem towards a quality java solution?
Hi all,
I've been reviewing Sonar for a while, and was wondering for those that use sonar how you handle multi-language projects?

For example, it is common to have java, html, xml, sql, css, javascript all in the same project, and managing the quality of the java, xml, and javascript could be challenging.

How have people overcome this challenge, and/or if Sonar can assist in improving the quality?

(unfortunately I have many questions of sonar, so more coming....)

thanks!
-D