Sep 05 2017

I love writing technical books…

Category: TechnicalIuliana @ 23:23

… and messages like the ones below make all the effort worth it.

Tags: ,

Mar 10 2016

Awesome Feedback for my technical book

Category: TechnicalIuliana @ 1:34

In case you do not know I wrote a technical book, about Spring Web. From time to time, I receive emails from people reading my book and working with the code, but the email received tonight made my day:

What attracted me to your Pivotal Certified Spring Web Application Developer Exam Guide is the fact that you used Java configuration for the Spring Web Flow, and to the best of my knowledge, that is the only book in the market that currently used Java Config for Spring Web Flow. As I look further into the book I see how you encouraged the use of current and most prevalent tools for development. I love your approach, it is very upwards looking, and has the tendency of yielding a great and lasting result.
(That’s what Tim said)

So yeah, I’m a pioneer in using Java Config for Spring Web Flow. Ta da! So in case you had doubts about buying my book, I hope there are less of them now.

Stay safe, stay happy!

Tags: ,

Feb 10 2016

Times and times again

Category: English postsIuliana @ 23:31

While growing up I had a little sister, 4 years smaller than me.  I hated taking care of her and my parents insisted I did that since she was 2 years old. I think the reason why I hated her was because of the feeling that I was not enough. If I were, why did my parent have to have another child? I have no idea where that feeling came from, I did not just start feeling like that on my own. It must have been something my parents did or said. Years later though she is still the favorite.

The weird thing is that my sister is old now. Until last year, we haven’t see each other in almost 10 years.  But that feeling of not being enough has followed me. I never felt good enough during faculty. I never felt good enough in the relationships I was involved.

Sometimes I think I am not even good enough for my cat, because I do not spend enough time with it. Because I clean its littler only every two days.

I do not feel enough for my friends, I feel like I don’t deserve them. I do not feel good enough for the position I am occupying at my job. I always have this feeling at the back of my head someday, some people will realize what I already know and they will fire me.

I do not know how to get rid of this feeling. And maybe I shouldn’t. Becasue the feeling of not being good enough, although it makes me bitterly sad, it also make me push myself over my limits trying to be better than I am.

I felt that I was not good enough to write a technical book and that the book is not good enough to worth buying. I was actually happy when I found the pdf on some torrent sites and on some pirate library sites where it could be downloaded for free, because in my mind, it was good enough to worth pirating. It was something. But staring at the payment notification that I received from Apress, I feel conflicted. The books was actually sold, and I received the first payment from selling the book. I am still staring at that email and I can’t believe it.

Whoever you are, the people that made this happen, I thank you very much! I will continue writing technical books and I promise to improve my writing based on your feedback!

PS: The video has nothing to do with the book. I just like Switchfoot a lot and I was listening to this while writing the post. It sort of fit. Enjoy!

Stay safe, stay happy!

Tags: , ,

Feb 04 2016


Category: MiscellaneousIuliana @ 19:59

Starting with January 1st 2015, the chorus of my life was:

I can’t go out, I need to write.
I need a big black coffee, I did not get much sleep last night
I’m so tired, I need sleep
My eyes open I must keep …

But starting with 16 December the chorus changed to:

I’m on top of the world, my book is out
Go ahead, buy it, see what’s about!
And now when you are busy reading,
I’ll be in my bed, busy sleeping.

I know my rhyming sucks, but my book doesn’t and you can get it from here.

Tags: ,

Nov 08 2012

Learning Spring, part VI

Category: TechnicalIuliana @ 15:44

This won’t be a post  about a problem or a question, but about an observation.

When I took the spring Core course in Belgrade this June, in the Chapter about data access the jdbcTemplate instance was created like this:
Java code:

//random DAO class
private JdbcTemplate jdbcTemplate;
public void setDataSource(DataSource dataSource) {
    this.jdbcTemplate = new JdbcTemplate(dataSource);

Xml configuration:

<bean id="dataSource" class="..." />

After that I read Spring in Action, then the Spring reference and everywhere when given an example on how to use jdbcTemplate, the instance was created and injected like that.

And I am confused. If jdbcTemplate instance is thread-safe once configured, is recommended to not create one for each use and is stateless (does not maintain any conversational state) why don’t we just create it as a singleton bean and use it as such?
Sample of my code:

//random DAO class
private JdbcTemplate jdbcTemplate;
public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
    this.jdbcTemplate = jdbcTemplate;

Xml configuration:

<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
   <constructor-arg ref="dataSource" />

Tags: ,

Nov 06 2012

Learning Spring, part V

Category: TechnicalIuliana @ 10:37

<ref local=””/> vs. <ref bean=””/>

So here is the conclusion of this post, which was debated with my friend MARIANUL also.

The only difference between the two is syntax and  behaviour at application design time, when each of them helps you , the developer, in its own way, to figure out if the references are valid or not. At run time, there is no difference: all beans are created and reside in the same application context so the references are correctly solved.

So yeah, this is it. Simple as that. So ignore all the blog posts where you are told that code does not compile because of XML parser errors and if you doubt my findings too, dare to test and draw your own conclusions. This is what I did. :)

Tags: , , ,

Nov 05 2012

Learning Spring, part IV

Category: TechnicalIuliana @ 13:05

<ref local=””/> vs. <ref bean=””/>

So, when should we use one or the other and why?

First, I’ll offer you a link to the official Spring reference documentation related to this subject.  Basically:

Specifying the target bean through the bean attribute of the tag is the most general form, and allows creation of a reference to any bean in the same container or parent container, regardless of whether it is in the same XML file. The value of the bean attribute may be the same as the id attribute of the target bean, or as one of the values in the name attribute of the target bean.


Specifying the target bean through the local attribute leverages the ability of the XML parser to validate XML id references within the same file. The value of the local attribute must be the same as the id attribute of the target bean. The XML parser issues an error if no matching element is found in the same file. As such, using the local variant is the best choice (in order to know about errors as early as possible) if the target bean is in the same XML file.

Then we will play with some source code.
Continue reading “Learning Spring, part IV”