Trending JMS Discussions

Follow

Ask the Community


Ask any professional question and get answers from other specialists.

Stream language
Usman Liaqat's image
Question added by Usman Liaqat Principal Software Engineer Soliton Technologies
10 years ago

How to make Asynchronous call to DB using Java. Please note i do not want to wait for the DB results.?‎

I want to refresh Materialized View in my program for which i do not want to wait for the call to get Finish.‎

Answers:
2
Followers:
Views:
309
Vote Count:
0
Answer should contain a minimum of 25 characters.
ahmad mohammed's image  
Answer added by  ahmad mohammed, JAVA team lead, edu-tek
10 years ago

you can just use threads to call you view and refersh  try to see executer service

Mufeed Farhan's image  
Answer added by  Mufeed Farhan, HR Applications Manager, SBM
10 years ago

You can create your method to select from db and make it  Asynchronous by adding "@Asynchronous" key word befor it . you can make solve your problem by creating ... See More