Java Backend Engineer – AI
ML and AIPosted 8 weeks agofrom Capco's own hiring page
- Work type
- HybridToronto
- Experience
- 4–6 years
- Pay
- C$92k–118k a year
- Posted
- 8 weeks ago
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
Build scalable backend applications and integrate AI-powered workflows into complex financial services environments.
The Role
At Capco, we’re looking for a Java Backend Engineer with practical experience building AI-powered applications, workflows, and automation solutions within complex financial services environments.
This role combines strong Java backend engineering with hands-on AI development. You’ll build scalable backend services, integrate Large Language Models (LLMs) and AI capabilities into enterprise applications, and develop intelligent workflows that solve business problems and improve operational efficiency.
You’ll also use modern AI-assisted development tools to enhance engineering productivity while maintaining responsibility for code quality, security, and reliability. Working closely with business stakeholders, architects, and technology teams, you’ll help turn evolving requirements into practical, secure, and maintainable solutions.
What You’ll Do
- Design, develop, test, and maintain scalable backend applications and microservices using Java and Spring Boot.
- Build AI-powered applications, workflows, and automation solutions using LLMs, AI APIs, and capabilities such as structured outputs and tool calling.
- Develop REST APIs and integrate AI capabilities with enterprise applications, data sources, and business processes.
- Use AI-assisted development tools such as GitHub Copilot, Cursor, Devin, or equivalent platforms to accelerate coding, testing, debugging, and delivery while maintaining engineering standards.
- Own technical deliverables from design through implementation, testing, deployment, and production support, collaborating with business and technology stakeholders to resolve complex problems.
What We’re Looking For
- 4–6 years of hands-on software development experience, with strong proficiency in Java and backend application development.
- Solid experience with Spring Boot, REST APIs, microservices, system integrations, and modern software engineering practices.
- Practical experience building AI-enabled applications or workflows using LLM APIs, prompt engineering, structured outputs, or tool/function calling, beyond using AI coding assistants alone.
- Experience using AI-assisted development tools such as GitHub Copilot, Cursor, Devin, or equivalent, with the ability to review, validate, test, and securely maintain AI-generated code.
- Experience with automated testing, CI/CD, version control, troubleshooting, and end-to-end delivery, with an understanding of AI evaluation, output validation, guardrails, privacy, and security considerations.
Bonus Points For
- Experience with Python for AI development, automation, or supporting backend services.
- Familiarity with retrieval-augmented generation (RAG), embeddings, vector databases, or hybrid search.
- Exposure to Java AI frameworks such as Spring AI or LangChain4j, or frameworks such as LangChain or Semantic Kernel.
- Experience with AI agents, workflow orchestration, Model Context Protocol (MCP), or human-in-the-loop approval workflows.
- Experience with AWS, Azure, or GCP, Docker, Kubernetes, or financial services environments such as banking, payments, capital markets, or lending.
Inclusion at Capco
We're committed to making our recruitment process accessible and straightforward for everyone. If you need any adjustments at any stage, just let us know—we'll be happy to help. We value each person's unique perspective and contribution. At Capco, we believe that being yourself is your greatest strength. Our #BeYourselfAtWork culture encourages individuality and collaboration—a mindset that shapes how we work with clients and each other every day.
Why This Role Is Open We are currently hiring for this role due to an existing or newly created vacancy within our organization. This position is open as part of our ongoing business needs, and we are actively reviewing applications to fill this role with a qualified candidate who can make an immediate impact. Use of Artificial Intelligence in Talent Acquisition At Capco, we use artificial intelligence (AI) tools to support and enhance several parts of talent acquisition. This includes using AI-enabled features within LinkedIn to help source potential candidates, speeding up routine recruitment communications such as emails and creating compelling and brand-aligned job postings that accurately reflect role requirements, and AI-scheduling applications to improve the efficiency of interview coordination. AI is used as a support tool only. All hiring decisions are made by talent acquisition and hiring teams.Pay Transparency
The salary range for this position is listed below. Additionally, this position may also be eligible to receive an annual discretionary/variable bonus payment.
Capco is committed to providing fair and equitable compensation to our people. Our compensation policies and salary ranges are designed to allow our people to progress through the salary range as they demonstrate strong performance and develop in their role over time. The base pay offered to selected candidates will be within the salary range and the placement will vary based upon a variety of factors, including, but not limited to job-related knowledge, skills, experience and internal equity.
Canada Pay Transparency$92,000—$118,000 CADInterested?Java Backend Engineer – AI at Capco
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Java, LLMs and GenAI, Microservices and 10 more
Interview questions for this job
For the skills the ad mentions: Java, LLMs and GenAI, Microservices, Spring Boot, REST APIs, Test automation, CI/CD, Python, AWS, Azure, Google Cloud, Docker and Kubernetes.
Explain: HashSet vs TreeSetJava
HashSet vs TreeSet
HashSet class implements the
Setinterface, backed by a hash table (actually aHashMapinstance). It makes no guarantees as to the iteration order of the set; in particular, it does not guarantee that the order will remain constant over time. This class permits thenullelement.This class offers constant time performance for the basic operations (add, remove, contains and size), assuming the hash function disperses the elements properly among the buckets. Iterating over this set requires time proportional to the sum of the
HashSetinstance's size (the number of elements) plus the "capacity" of the backingHashMapinstance (the number of buckets).TreeSet class implements the
Setinterface that uses a tree for storage. It inheritsAbstractSetclass and implements theNavigableSetinterface. The elements are ordered using their natural ordering, or by aComparatorprovided at set creation time, depending on which constructor is used.TreeSetis basically an implementation of a self-balancing binary search tree like a Red-Black Tree. Therefore operations like add, remove, and search takeO(log(n))time. The reason is that in a self-balancing tree, it is made sure that the height of the tree is alwaysO(log(n))for all the operations. Therefore, this is considered as one of the most efficient data structure in order to store the huge sorted data and perform operations on it. However, operations like printing N elements in the sorted order takesO(n)time.Property HashSetTreeSetOrdering Does not maintain any order Maintains an object in sorted order Comprasion Uses equals()methodUses compareTo()methodData structure Implemented using HashTable Implemented using a tree structure Null element Allowed Not allowed Performance Time complexity average - O(1)Guaranteed O(log(n))time cost for the basic operationsLinks
https://docs.oracle.com/javase/7/docs/api/java/util/TreeSet.html
https://docs.oracle.com/javase/7/docs/api/java/util/HashSet.html
https://www.geeksforgeeks.org/hashset-in-java/
https://www.geeksforgeeks.org/treeset-in-java-with-examples/
https://www.geeksforgeeks.org/hashset-vs-treeset-in-java/
https://www.tutorialspoint.com/difference-between-tree-set-and-hash-set-in-javaFrom Android Interview Questions (Apache 2.0)
How do you choose the chunk size for a RAG system?LLMs and GenAI
Choosing the chunk size for a RAG system involves balancing granularity, context completeness, and computational efficiency. Smaller chunks (e.g., 100-200 tokens) allow precise retrieval but may lack sufficient context. Larger chunks (e.g., 500-1000 tokens) provide more context at the cost of increased computational load and potential noise.
The optimal size depends on the use case, document structure, embedding model, and the generator (LLM) model. For example, smaller chunks are suitable for fact-based queries, and more complex queries benefit from larger ones.
From RAG Interview Questions and Answers Hub (Apache 2.0)
API gateway vs. reverse proxyMicroservices
It is easier to think about them if you realize they aren't mutually exclusive. Think of an API gateway as a specific type reverse proxy implementation.
In regards to your questions, it is not uncommon to see both used in conjunction where the API gateway is treated as an application tier that sits behind a reverse proxy for load balancing and health checking. An example would be something like a WAF sandwich architecture in that your Web Application Firewall/API Gateway is sandwiched by reverse proxy tiers, one for the WAF itself and the other for the individual microservices it talks to.
Regarding the differences, they are very similar. It's just nomenclature. As you take a basic reverse proxy setup and start bolting on more pieces like authentication, rate limiting, dynamic config updates, and service discovery, people are more likely to call that an API gateway.
From Stack Overflow: asked by user1459144, answered by Justin Talbott (CC BY-SA 4.0)
How make spring service thread-safe?Spring Boot
There are several ways, probably too long to list here but here are a few examples:
- Design your beans immutable: for example have no setters and only use constructor arguments to create a bean. There are other ways, such as Builder pattern, etc..
- Design your beans stateless: for example a bean that does something can be just a function (or several). This bean in most cases can and should be stateless, which means it does not have any state, it only does things with function arguments you provide each time (on each invocation)
- Design your beans persistent: which is a special case of "immutable", but has some very nice properties. Usually is used in functional programming, where Spring (at least yet) not as useful as in imperative world, but I have used them with Scala/Spring projects.
- Design your beans with locks [last resort]: I would recommend against this unless you are working on a lower level library. The reason is we (humans) are not good thinking in terms of locks. Just the way we are raised and nurtured. Everything happens in parallel without us needing to "put that rain on pause, let me get an umbrella". Computers however are all about locks when you are talking "multiple things at the same time", hence there are some of us (exceptional people) who are doing their fair share and implementing libraries based on these locks. Most of other humans can just use these libraries and worry not about concurrency. Links
- http://dolszewski.com/spring/spring-bean-thread-safety-guide/
- https://stackoverflow.com/questions/15745140/are-spring-objects-thread-safe
From Java interview (MIT)
What is the difference between POST and PUT in HTTP?REST APIs
Overall:
Both PUT and POST can be used for creating.
You have to ask, "what are you performing the action upon?", to distinguish what you should be using. Let's assume you're designing an API for asking questions. If you want to use POST, then you would do that to a list of questions. If you want to use PUT, then you would do that to a particular question.
Great, both can be used, so which one should I use in my RESTful design:
You do not need to support both PUT and POST.
Which you use is up to you. But just remember to use the right one depending on what object you are referencing in the request.
Some considerations:
- Do you name the URL objects you create explicitly, or let the server decide? If you name them then use PUT. If you let the server decide then use POST.
- PUT is defined to assume idempotency, so if you PUT an object twice, it should have no additional effect. This is a nice property, so I would use PUT when possible. Just make sure that the PUT-idempotency actually is implemented correctly in the server.
- You can update or create a resource with PUT with the same object URL
- With POST you can have 2 requests coming in at the same time making modifications to a URL, and they may update different parts of the object.
An example:
I wrote the following as part of another answer on SO regarding this:
POST:
Used to modify and update a resource
POST /questions/<existing_question> HTTP/1.1 Host: www.example.com/Note that the following is an error:
POST /questions/<new_question> HTTP/1.1 Host: www.example.com/If the URL is not yet created, you should not be using POST to create it while specifying the name. This should result in a 'resource not found' error because
<new_question>does not exist yet. You should PUT the<new_question>resource on the server first.You could though do something like this to create a resources using POST:
POST /questions HTTP/1.1 Host: www.example.com/Note that in this case the resource name is not specified, the new objects URL path would be returned to you.
PUT:
Used to create a resource, or overwrite it. While you specify the resources new URL.
For a new resource:
PUT /questions/<new_question> HTTP/1.1 Host: www.example.com/To overwrite an existing resource:
PUT /questions/<existing_question> HTTP/1.1 Host: www.example.com/Additionally, and a bit more concisely, RFC 7231 Section 4.3.4 PUT states (emphasis added),
4.3.4. PUT
The PUT method requests that the state of the target resource be
createdorreplacedwith the state defined by the representation enclosed in the request message payload.From Stack Overflow: asked by alex, answered by Brian R. Bondy (CC BY-SA 4.0)
What are your main strengths?Behavioural
The strengths employers look for will depend on the job role. They may ask you questions like:
- what are your main strengths?
- why should we hire you?
You can use specific examples to highlight your strengths, such as:
- communication - to show you get on with others
- problem solving - to show that you can find solutions
- enthusiasm - to show that you have a positive attitude to work
- flexibility - to show that you can adapt to different ways of working
Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Director - Chief Developer and AI AdoptionRoyal Bank of Canada, Toronto, on-siteToday
- Principal AI DeveloperMaintainX, Remote, Toronto +1Yesterday
- Data Engineer - Corporate Data, Analytics & AILyft, Toronto, on-siteYesterday
- Senior Software Engineer, AIVelocity Global India, Remote, Toronto2 days ago
More like this: Machine learning and AI jobs in Toronto (142), Jobs in Toronto (1,712) and Machine learning and AI jobs in Canada (405)


