ok as usual in this type of questions, a lot of confusion and overlapping concepts
First you need to define your data source for the 14 weeks historical, and that is not necessarily done with IB or their APIs. A number of quote vendors offer those data better than IB. That also means you might need to build a Datawarehouse to store and analyzed those data feeds in future research.
Next, you need to find a way to "glue" your trading logic with your data feed. Again, IB and their APIs is a different issue. The programming language doesn't really matter as long as you can eventually "export" or connect to another process or system that will proceed the trades.
If it's done in Java or C#, then you can "import" or "link" the IB API to do the trades directly within your trading logic, but again this is not necessary. You could create a separate service process in Java with IB APIs for the trades only, with the core logic of your strategy done in Perl, PHP, even Bash if you feel like it, before the result of that strategy is sent to the service for trade processing.
Basically, the IB APIs are there for "Order Management" process, not necessarily the "strategy logic" or the Quote data feed. The IB APIs do offer a data feed service, but like I said, the IB Quote service has certain limitations and other vendors do a better job than IB for quote feeds.
Hope that helps.