Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.
Modern Digital Website Security: Prepare to face any form of malicious web activity and enable your sites to optimally serve your customers.
Senior Developer at T4Project srl
About
Software engineer in Java/J2EE in Milano (Italy). I'm interesting about design, analisys and testing. I have a BEng in Computer Engineering at Politecnico di Milano with a thesis about the software measurement in OO projects. I'm also the Company Tutor for junior developers and I have the certification ISIPM-BASE about project management
Stats
Reputation: | 42 |
Pageviews: | 0 |
Articles: | 0 |
Comments: | 27 |
Comments
Feb 17, 2021 · DZone_karap
Hi,
my mail is a3puzielli@gmail.com..
Thank you very much
Jan 29, 2021 · DZone_karap
Hi Samarpit, thank you for your article. I have been studying the microservices with Spring Boot for some days ago and your article is clearifing me some details of the topic better the official tutorial of Spring.io. Can I you ask the source code, please? I don't work with STS but directly in Eclipse vanilla.
Sep 11, 2020 · Deepak Kumar
Thank you for the article: I followed it for my first upload in pypi and the process is ended succesfully (After a renaming for a homonym project). Thank you!
Jan 11, 2016 · Hany Ahmed
Hi,
I have 2 questions:
1) When you select all users, why does you use the signature public Set getAllUsers(int id)? Into code, the id is'nt read, then it's useless. Is'nt better to use Set getAllUsers()?
2) Into login's situation, If I need to trim the name and password, it's better to trim them before calling the method of login or inside the login's method?
Bye
Alessandro
Oct 01, 2014 · Boyan Kostadinov
Software engineering has more standards for visualization. For example:
These modelization languages can express the same level of precision of traditional engineering's models, but they require time and effort.
If I want a not-formalized sketch, useful only to understand the general idea, in software engineering you can use the showed diagrams. In the same way, in traditional engineering you can draw by hand.
The difference is that in tradtional engineering, the standards are necessary for development and delivery of project because the product require more business lines with a common language.
IMO, in software engineering the constraints of process are more relaxed.
Oct 01, 2014 · Edmund Kirwan
Software engineering has more standards for visualization. For example:
These modelization languages can express the same level of precision of traditional engineering's models, but they require time and effort.
If I want a not-formalized sketch, useful only to understand the general idea, in software engineering you can use the showed diagrams. In the same way, in traditional engineering you can draw by hand.
The difference is that in tradtional engineering, the standards are necessary for development and delivery of project because the product require more business lines with a common language.
IMO, in software engineering the constraints of process are more relaxed.
May 05, 2013 · Per Olesen
The snippets remember me the Strategy design pattern..
May 05, 2013 · James Sugrue
The snippets remember me the Strategy design pattern..
Nov 25, 2009 · Alex Miller
Hi john,
I lose a step: in the method Car.sava(Car car) there's a connection to DB and you says that the DB is unaviable.
Then in the DAO I need a connection to DB (the method saveCar(Car car) call this method without other elaboration).
When in test this instruction runs:
you might to receive a PersistentException (or SQLException) in testing time and you can't read the value of assertion.
How do you can testing the method save if you don't modify its code?
Do you use any framework? In the article there's mention.
Thanks
Nov 25, 2009 · Masoud Kalali
Hi john,
I lose a step: in the method Car.sava(Car car) there's a connection to DB and you says that the DB is unaviable.
Then in the DAO I need a connection to DB (the method saveCar(Car car) call this method without other elaboration).
When in test this instruction runs:
you might to receive a PersistentException (or SQLException) in testing time and you can't read the value of assertion.
How do you can testing the method save if you don't modify its code?
Do you use any framework? In the article there's mention.
Thanks
Aug 19, 2009 · Mr B Loid
Hi Adam,
In my opinion the interface is matter for the maintenance and the evolution of the software: it's an indication, a landmark about the interanl stucture of the program (the concept of program to the interface not to the implementation quoted by Santini).
For example you have the code
and you prefer to re-write as
( Service is a concrete class and ServiceIF is an interface)
Later, the customer ask you to extend the function of a software component.
The solution iscreate a new class NewService (horrible name but it's an example :)) sharing the public behaviour of Service.
With the first solution, you can write
with the other solution
and you must be more careful for the regression test.
At the least, I think the the interface implemented by one class is an assurance for the future ;)
The bad practise, IMOH, is to use name as
instead a name closer to functional world.
Bye
Alessandro
Aug 19, 2009 · James Sugrue
Hi Adam,
In my opinion the interface is matter for the maintenance and the evolution of the software: it's an indication, a landmark about the interanl stucture of the program (the concept of program to the interface not to the implementation quoted by Santini).
For example you have the code
and you prefer to re-write as
( Service is a concrete class and ServiceIF is an interface)
Later, the customer ask you to extend the function of a software component.
The solution iscreate a new class NewService (horrible name but it's an example :)) sharing the public behaviour of Service.
With the first solution, you can write
with the other solution
and you must be more careful for the regression test.
At the least, I think the the interface implemented by one class is an assurance for the future ;)
The bad practise, IMOH, is to use name as
instead a name closer to functional world.
Bye
Alessandro
Aug 18, 2009 · Peter Stofferis
Remember the API all of the all the language is my problem too: for this I decide to learing Scala, because this language uses the Java bytecode in correct way (and vice versa).
Happy coding!
Aug 18, 2009 · James Sugrue
Remember the API all of the all the language is my problem too: for this I decide to learing Scala, because this language uses the Java bytecode in correct way (and vice versa).
Happy coding!
Dec 30, 2008 · Mr B Loid
The problem is'nt a NEW or OLD Build server.
The problems is to have A BUILD SERVER!
:)
Dec 30, 2008 · John Ferguson Smart
The problem is'nt a NEW or OLD Build server.
The problems is to have A BUILD SERVER!
:)
Dec 17, 2008 · Mr B Loid
I don't understand:
1) I code static method for general and common function: formatting a
for JSP page, compare two class, validatio, mathematical need.
2)for debug: i code static the number of object of a class
You says that is diffucult for the testing? I say that the static methods must not be necessary for the business logic but only for the secondary aspects. Do you prefer - by default - testing ALL the functions or only the new functions whenyou must deploy a new feature of your software?
Dec 17, 2008 · Misko Hevery
I don't understand:
1) I code static method for general and common function: formatting a
for JSP page, compare two class, validatio, mathematical need.
2)for debug: i code static the number of object of a class
You says that is diffucult for the testing? I say that the static methods must not be necessary for the business logic but only for the secondary aspects. Do you prefer - by default - testing ALL the functions or only the new functions whenyou must deploy a new feature of your software?
Oct 03, 2008 · sneha sistla
Oct 02, 2008 · Payton Byrd
RIP..
I began programming with the JDK1.4 for work.
the question is:How much MANAGERS/CUSTOMERS know about this event?
Oct 02, 2008 · Alex Miller
RIP..
I began programming with the JDK1.4 for work.
the question is:How much MANAGERS/CUSTOMERS know about this event?
Oct 02, 2008 · Lebon Bon Lebon
Great post!
A question: in your opinion, why the developer not send any message to user?
Why often dont' they write the correct message in the logs but they prefer a general
instead a more specific
?
Oct 02, 2008 · David Van Couvering
Great post!
A question: in your opinion, why the developer not send any message to user?
Why often dont' they write the correct message in the logs but they prefer a general
instead a more specific
?
Sep 05, 2008 · admin
Important subject!
Generally I prefer the hard copy: I download from Internet the technical articles and books that I read as reference ( i.e. "Thinkin in Java" of Bruce Eckel). Also I don't buy book about programming language but about algoritms, data structure, architecture (i.e. the Tanenbaum's book about network systems, operating systems etc) because I have found often that the programming books are full of code, then it's better to coding directly :)
PS I try ever to buy the books not in english but in italian language :))))
Sep 05, 2008 · Meera Subbarao
Important subject!
Generally I prefer the hard copy: I download from Internet the technical articles and books that I read as reference ( i.e. "Thinkin in Java" of Bruce Eckel). Also I don't buy book about programming language but about algoritms, data structure, architecture (i.e. the Tanenbaum's book about network systems, operating systems etc) because I have found often that the programming books are full of code, then it's better to coding directly :)
PS I try ever to buy the books not in english but in italian language :))))
Sep 01, 2008 · Mr B Loid
Hi!
A only warning: the links are bad written.
In the article the link to tool is http://java.dzone.com/www.panopticode.org/, but really it's http://www.panopticode.org/.
I have a doubt: How often do you use the code metrics? I'm a joung software engineer but I don't know if it's more their effective use at work.
Bye
Sep 01, 2008 · Meera Subbarao
Hi!
A only warning: the links are bad written.
In the article the link to tool is http://java.dzone.com/www.panopticode.org/, but really it's http://www.panopticode.org/.
I have a doubt: How often do you use the code metrics? I'm a joung software engineer but I don't know if it's more their effective use at work.
Bye