There's more to blossoming ties between the Indian and Japanese prime ministers than counterbalancing the rise of China, analysts say.
"India right now is shopping for money. That to me trumps any longer geo-political considerations, especially with respect to China. I'm sure India also wants very strong relations with China as it is India's largest trading partner," said Taimur Baig, chief Asia economist at Deutsche Bank.
"There are broader issues down the road about supplanting China as a manufacturing hub, but that's not today's story. That's years from now. First off is getting the macro house in order as far as India's concerned," he said.
Read More India and Japan send signal with bear hug
Narendra Modi made a five-day visit to Tokyo last week, his first major trip to a foreign country since becoming India's prime minister in May. Stronger ties between India and Japan are rooted in an over two-year old friendship between Modi and Japanese Prime Minister Shinzo Abe that began in 2012 when Modi visited Japan during his role as Gujarat's Chief Minister. The leaders hold similar conservative-nationalistic, pro-business views.
A united front
Defense deals overshadowed investment news, fueling speculation that Japan and India aim to form a united front amid China's increasingly aggressive maritime offense in the South and East China Seas.
Read More Is India 'holding a gun to its own head?'
Modi lashed out at what he called the "18th century" expansionary ways of some countries which "encroach and enter the seas of others," during his visit, a likely reference to Beijing.
On Monday, the leaders agreed to hold regular maritime exercises and to accelerate talks about the potential sale of Japanese aircraft to India's navy; this would mark Japan's first overseas military sale in nearly 50 years.
Seeking investment
While defense deals were front and center, Modi also sought increased investment from Japan - its fourth-largest foreign-direct investor, according to data from India's Ministry of Commerce and Industry.
"Modi went to Tokyo with a very clear message for Japanese businesses that he was going to address the country's labyrinth of regulatory and tax complications that get in the way of foreign direct investment, which the Japanese business community has scratched their heads over for a long time," said Sheila Smith, senior fellow for Japan studies at the Council for Foreign Relations.
Read More The missing link in Asia's economic recovery
If the Japan Credit Ratings Agency is more favorably pre-disposed to looking at India's macro outlook there's a greater chance that a higher rating will be assigned, reducing the cost of financing for Japanese corporates into India, Deutsche Bank's Baig said.