Claude Moore

+ Follow
since Jun 24, 2005
Claude likes ...
IBM DB2 Java Netbeans IDE Spring
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Claude Moore

Choosing a component framework is always a crucial step when you're about to define the technology stack for a new product. It's never, in my experience, an easy task.
The guidelines for the choice I always suggest to follow as a software architect are more or less the following:

a) is the framework supported by any software company ? How much is the support (if any) ?
b) is the community behind the framework thriving ? How often are new versions released ?
c) how many components does the framework offer, and given their features, how much do they fill your project needs ? In other word, could you use components out-of-the box or do you need to undergo an (heavy) customization ?
d) in web frameworks,  look carefully which features offers the 'data table' (whatever is its name in the framework) component. If there's no datatable - dump it and choose another one. Datatable is generally speaking the most challenging component: does it offer out of the box sorting column, re-arranging columns, filtering, grouping, sorting...
e) when you have a bunch of candidates, build a proof - of - concept project whenever possible, measuring the global effort to get the project done.

Unluckily, I've no a great direct experience with Angular. When we evaluated at work which web fx to  adopt for a customer that required to use JSF for its own reasons, we ended to choose Prime JSF. We found it very complete, and you need not to pay for use it.
Personally, as a developer, I'd give Prime NG a try, but mine is an idea more than an advice.

Good luck !

11 minutes ago
First, welcome to the ranch ! Official documentation says that a SQLException is thrown whenever you try to invoke createStatement on a closed connection or you pass some int values that are not valid result set or cursor types ( i.e, you pass a resultset scroll type value as a resultset concurrency value, misplacing the parameters ); a SqlFeatureNotSupported exception if the required concurrency/scrolling policy aren't supported.Indeed, no mention of downgrading concurrency. I wonder if downgrading or not is implicitly left upon driver's and database's capabilities, even if I think it would be a unreliable behavior - at the end you're never sure about the real concurrency/scrolling type.
I'm pretty curious, let's add some flagsto your question and lt see if someone here can help.
If I remember well, is mainly due to performance reasons (internally a finite number of items can be handled more efficiently than varargs)
1 week ago
IMHO what really changed and allowed great enhancement in AI are several other factors like the availability of really big (huge) amount of data and massive computational power - unseen before now. These key factors made possible to apply algorithms and approaces to ML that have been around for a long time.
1 month ago
I would suggest you to analyze each phase - fetching the data, process the data, and writing out the CSV file separately. First of all, you need to discover the bottleneck. Moreover, you should provide more details (if you can) of what your code does, otherwise we can only guess in abstract.
1 month ago
Generally speaking, using SP allows you to achieve better performance when you need to execute more statements in cascade to fulfill some task. Otherwise, I guess that executing a single PS or calling a SP that execute only a single operation is pretty the same thing - one noticeable difference is that the code of a SP  could be changed on the fly, while Java code needs to be redeployed.
1 month ago
1.Spring is essentially a backend technology, so you can design your UI using the framework you prefer. Most of times, you will expose some REST aoi to a modern web frontend.
2.Yes, you can use mybatis with spring, provided that you are running a supported configuration (spring 5, mybatys 2, JDK 8).Have a look at Mybatis web site for further details.
3.Yes, you can deploy a Spring project in a Websphere ( or other appserver) instance,  but it's not a solution I have personally seen many times. More often I've seen spring deployed in a lightweight web container like tomcat (with spring) , or very often as standalone application with an embedded tomcat instance (spring boot).
1 month ago
Thanks Stephan for your answer, anyway I was more concerned on using or not JPARepository ( i.e, tiying or not to Spring, at least for database access), rather than pure design issues. This said, your approach is really appreciable, because clearly respects a separation of responsibilities among layers.
1 month ago
I'm going to be involved in a medium sized project based upon spring boot framework. This project's going to be very data centric, i.e most of the business logic will have to deal with reading and writing data in traditional relational database.One guy of my team started to extensively see JPARepository, while I would like avoid all the magic behind JPARepository and, even if using Repository pattern is a good idea, I'd prefer him to write data access logic only using Query API , Entity manager, and so on. Why ? Well in my experience, the less your core codebase - in this case,  the classes accessing the dbms - is tied to a framework, the better is.. In another large project, we had about an hundred of Ejbs which business logic methods accessed directly to the database, and when we had to refactor out the business logic it was a really pain and a big headache.
On the other hand, my colleague argued that endorsing a framework and not using it through fully it's a nonsense, and honestly I admit that his point of view is reasonable.
So, I'd love to hear your opinions about.
1 month ago
As far as I know, spring makes easy to read a project's file from within the project itself, what you are asking for could be done - I presume, but honestly I don't know how. I guess it would be tricky.
Anyway I wonder why , in a library (no matter if spring based on not) , you should need to read properties of the main project that is using your library. Shouldn't be the opposite, i.e let the main project override properties of libraries it's using?
1 month ago
Nice question for a debate, added a couple of flags.
My two cents: for various reasons, I had and currently have to work with pure jdbc, but at the very end I need to write some helper classes to reduce boilercode you inevitably need to write when using prepared statements, result sets and so on. Personally I'd follow JPA, and I would not rely to much upon Spring data facilities. Spring is really really good, but tends IMHO to automagically do too much things, and most of times I needed more control over data access.
Welcome to the ranch! Your question is a bit generic.Could you provide more details?
1 month ago
Thanks Jeanne. I think it won't be easy but I really feel it's time for me to get back in the game.
1 month ago
Thanks Jeanne, but at the moment I haven't already accepted. Indeed I've some concerns like the forementioned ones.
Based upon your experience, what are the most important skills any architect should have?
1 month ago
I've been recently offered a new job as Java Architect, a role that I think I can fit at least under a pure technical point of view.
Nevertheless, I'm worried about that I should take the responsibility of junior developer's technical growth and, most important, I'll have to help project managers to estimate developing time for new projects or changes to be applied to existing projects. And that's something I've never done before. Or, well, I've done dozens of time but always with respect to projects I deeply knew, and taking in account the actual skills of my co-workers, that I know pretty well - I mean I know who's better in writing tests, who can review code, and more or less how much each member of the team will take to perform a task.
Moreover, despite the fact that I'm currently an architect in a small company, I'm afraid to not measure up with the same role in a much more larger reality, where things like tracking project changes, defining all the architecture's pieces,  tracking of bugs and issues and so on  will  presumablyl go through a deep , formal processes I'm not comfortable with.
Could you give me any advice, guys ?

1 month ago