souha jerbi

Greenhorn
+ Follow
since Apr 13, 2009
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 souha jerbi

thanks everybody for your help : )
hi,
I would like to know if the ehcache is so important or it is possible to ignore it, and if it's so imprtant , is it suffisant to put it true in the hibernate.cfg.xml to exploit it
thanks a lot
14 years ago
hi,
i have never used loggers, so i don't know when to call the log methods such as log.error , log.debug and so on . An other problem is that i don't know what are the most important informations that must be logged for hibernate : i don't know if i have to call log functions only when an exception is caught (when opening a session or a transaction) otherwise what are the events that should be logged
thanks a lot

hi,
how may i know if a class is instanciated or not?
14 years ago
hi,
i just want to know if we shoud open and commit the transaction for each time we want to acces the database or is it possible to execute more than a query in one transation.
and if it's the first response , how may do to prevent the case when in one service the first query is commited and the second is not (doesn't it causes in this case an integrity problem?)
thanks everybody
hi,
i saved a pdf file in my database and want to have an idea about the method that allow me to open the file in a web appliction , how may i give in my java class the information that my file will be opened with the pdfreader?
thanks a lot.
14 years ago
Hi,
I am working on hibernate and it seems that there a default path for the Hibernate.cfg.xml file so i want to force a new path .
thanks a lot
hi,
I'm looking for the mifos projet, could any one give me a lik to download please?
thanks
14 years ago
hi,
I am working on a J2EE framework and want to have an idea about Business Object.
thanks
hi,
i want to implement a generic method that takes as parameter a query an returns a generic object .in this method, i am supposed to use the dynamic queries methods of the class session of hibernate so to explain , i want to have a method that hides the differences between writing a sql query or an query by criteria and so on... and that returns at any case(a select query , a creation query.....) an object . so i want to have one method that uses and replace the methods session.createQuery(), session.createSQLQuery(),session.createCriteria()...

thanks a lot in advance



i am looking for an english chat room where i can ask directly

hi,
i am not really sure if it's the best place to ask this question but i want to have an idea about why some people design new frameworks where a miltitude of oprn souce J2EE frameworks are available?

thanks everybody
14 years ago
hi,
first of all, i thank so much you or your help,
sorry , but i don't inderstand how may i choose between XFacade and YFacade in my CustomerClass
thanks a lot
14 years ago
hi,
No there will be one instciation for all implementations ; not one for each one.
thanks
14 years ago
hi ,
I have implemented the Facade design pattern as a unique instance(singleton) :

then i implemented my customer class that uses the facade :





My problem is that i want to introduce an inetrface Facade that will give me the possibility to have many implementations of Facades : as showen in this diagram:
diagram
but i couldn't because i can't instanciate the facade to choose my implementation because the constructor is private
thanks

14 years ago

I 'm working with hibernate and my services are like this one;

}
But there is a problem of tecnical pollution ; We see that we have to repeat the instrustions of opening session and transaction and closing n times and there is also a problem of coupling between my service layer and hibernae API. So i need to have an interceptor to do the work : open session, tx = session.beginTransaction() and so on
thanks a lot